Reload Page
Im building a site which has a login field on top of every page. When the user logs in it is currently set up to go to the default.asp page
My issue is this: since the login is on every page I only want the page to reload when the user logs in. (it must reload to remove the login fields and replace them with the user account menu). I want the user to stay where they are when they login and not be sent to the default page
Right now in the Form field the action is set to:
Code:
<FORM ACTION="default.asp">
View Replies
ADVERTISEMENT
on my site, things update alot, and someone might not know something's changed if they come back in an hour...because of the cache. is there a object or something that can clear the cache? a good object would be:Code:
Response.Cache = Erase
View Replies
View Related
How do I get a text link a href to create a session variable and then reload the current page?
View Replies
View Related
How can I reload the page on click on the BACK button in browser? Or what's event happened on that click?
View Replies
View Related
On my web page the user first views a list of items, then he goes to the next page and makes changes. Then he is sent back to the first page. But the page dose not show the changes unless the user reloads the page. Is there any way to force the page to be reloaded up on return? Either from the page that sends the user back or from the list page its self? Here is a sample of the code that sends the user back to the list page:
<center>
<form>
<input type="button" value=" Go back to listings "
OnClick="javascript: history.go(-1)">
<p>
</form>
</center>
View Replies
View Related
is it possible to reload just one table row with out reloading the entire page? Or reloading just a table? i'm not thinking it's possible but if it is it's worth asking a qustion.
View Replies
View Related
I cant get around this. Im working on a job interview scheduling system, and i wanna set my recordset to all the interviews scheduled from "tomorrow" and on....
so far I've got this query. Code:
"SELECT * FROM EVENTS WHERE SDATE > "&DateAdd("d", 1, Date)& " ORDER BY SDATE DESC"
this half works, since i dont get the dates from "today" but i do get results from "yesterday" or the day "yesterday" any suggestions?
View Replies
View Related
How do I via an ASP, load the page, pause for 30 seconds
and reload/refrest the page with no user intervention?
View Replies
View Related
I am getting the following error when I try to reload a pop-up page
res://C:WINDOWSsystem32shdoclc.dll/http_500.htm#
in the URL path. This page calls for a javascript from which values are loaded and binded to a dropdown on the page. The code works fine in development environment but it is not working in the production environment. What I want to know is should there be some sort of a command that I should run for the first time for the scripts to load.
There are other similar pop-ups that work fine.Could someone tell me where to look at in solving this error.
View Replies
View Related
How can I create an automatic reload page, depending on a timer in ASP code?
View Replies
View Related
I used to have thios bit of code and I have totally forgotton what is was. It set either an expiry for the page forcing the browser to download it from the server or it abandoned something. Anyway I want the page to always check its data and refresh from the server and not use the cache
View Replies
View Related
On a heavily used page that pulls a lot of data from the SQL server and XMl files we would like to implement refresh of only one data grid control in order to improve performance.
Is there a way to refresh data grid control without (post back) reload of the hole page. Data refresh can be done on regular time intervals or on click on the button. Environment (ASP.NET and SQL Server 2000).
View Replies
View Related
My problem is that the left and right panels of my website are exactly the same on every page so I made them into an include file. Yet, everytime a person clicks a link to another page, those images have to reload all over again....
View Replies
View Related
I have a datagrid displaying data. There's an "edit" button, which I use Javascript to create a popup window where I can change the information. There's a "save" button on the pop up window.
Currently, I have to click the save button, and the the close button to close the pop-up window, go back to the calling page and refresh it before the information is updated in the calling page.
I would like to be able to use the "save" button on the pop-up window to close the pop-up AND reload the parent page. Is that possible?
View Replies
View Related
i am new to asp and web designing, and was wondering how to reload a page so that a different set of images appear, depending on which submit button is pressed. Code:
View Replies
View Related
I have a page and on submit it creates hidden fields that are populated with required data, but at the same time it creates another form below it and that form is to call some data from the hidden values.
I am wondering if there is a way to have the second form "resubmit" once it is created?
View Replies
View Related
I am looking for some sample code. I have an ASP page that uses frames. I will call them Frame 1, Frame 2, Frame 3. Frame 2 has a three dropdown lists, I want to utilize Frame 3 based on what was selected in Frame 2. I kind of understand about the client/server thing, I think all I need to do is re-load the page somehow. Maybe onchange event with the passing of a variable or two.
View Replies
View Related
I have a data entry page which allows a user to insert or edit values
in a SQL-Server 2000 database. A section of the page also displays any
existing values already in the database, and allows the user to delete
them. Exisitng values and the cooresponding delete button are
generated on the page dynamically, with one form created for each
value to delete. JScript is used to submit the appropriate form.
On my test machine with NT4.0, PWS, and IE6.0, the delete function
works fine, and the page is re-loaded with the deleted value removed.
However, on the production environment, which is NT4.0, IIS4.0, and
IE6.0, when the user deletes a value, the form seems to be re-loaded
from the cache, and the 'deleted' value is still displayed. Refreshing
the page manually, however, eliinates the deleted value.
So - the delete function is woking, but the page does not seemd to be
refreshed in the production environment. Does this all make sense so
far? Code:
View Replies
View Related
I'm running a company intranet and the portion in question is the
company message board. Its becoming a very integral part of company
discussion on most of our projects. What I would like to be able to do is
have it so that a user can leave the message board opened and minimized and
have it alert him in some way when something new has been posted.
Unfortunately i dont want to just keep auto-refreshing the page at certain
intervals because i'm concerned about xp users (if it refreshes it'll start
flashing at them even if there is no new data, this could get annoying).
Is there a way to alert the page when posts occur or have the page check the
SQL database every so often without fully refreshing the page unless there
is a change to the database? I'm currently working in vbscript with some
javascript thrown in on some pages so an answer in either of these languages
would work for me.
View Replies
View Related
I have a database with clients. I have 3 types of clients.My table has the 3 categories of tables and in another table i have the properties of all the 3 different clients.I have a form now. The first field prompts the user to select the type of client he is. Depending on the category he inputs i want my form to reload and bring the exact properties to fill.how can i reload the form and bring the required fields each time the user selects a category.
View Replies
View Related
We are viewing the same page on my server in New York. I submit or send something in to an ASP, and it returns to me an updated page. How do I get it to reload showing changes for you in Florida who is just sitting watching the page not touching anything?
I have a frames page setup. When I send in info, I have this code to show changes for me by an automatic reload. it works for me:
<javascript blah blah blah
parent.frames[2].location = 'dataRecov.asp?view=rs';"
How do I update your page in Florida live?
View Replies
View Related
The page has Top frame (input) and bottom frame (result). The input html page send input to asp to generate result to bottom frame. The page works. But i wish to refresh bottom frame once i click the submit button to see the result by the java function
<script language =javascript>
function button1_onclick()
{
window.parent.mainFrame.location.reload();
}
</script>
But the bottom frame does not reload. is my logic wrong? is it conflicted with form action or method?
View Replies
View Related
I've got a little shopping cart app which when you use all of the links on the pages, and buttons etc, things are good, the "shopping basket" on the left navigation updates and shows a sum of items and cost.
However, if you arrive at the home page for example, proceed to the products page, add an item and then click "back", you get a cached page.
I appreciate there are some lines of code I can use, both ASP and html to prevent the cachine, but what I dont want to incur instead is that error IE (and other browsers too I guess - how very Microsoft of me - shows when the page has expired, I think that would probably be worse than the cart not showing any items (or not showing the update) until a link was pressed.
View Replies
View Related
I want to be able to submit the form without refreshing or reload at all and keep the values. how it works?
View Replies
View Related
i'm loading a new window from another page. but when i do for some reason the page it was loaded from kindof reloads, and all you see at the top of the page is
[Object]
and the title has changed to a bit of this code i used to create the new window. also when i view source for the page that i loaded the new window from all it says is [object]. what am i doing wrong? here is the code i'm using to open the new window.
[CODE<a href="javascript:window.open ('details.asp?detail=<%=rsURL(0)%>', 'newwindow2', config='height=300, width=300, toolbar=yes, menubar=yes, scrollbars=no, resizable=no, location=yes, directories=yes, status=yes')"><img src="images/detail.gif" width="15" height="15" border="0" alt=""></a>[/CODE]
any idea what i'm doing wrong?
View Replies
View Related
I took some code reference form a site using reload form after getting data based on drop-down box value. I changed all parameters as per my db, page is loading properly but after select item from drop down box, it does not reload and output query data. Code:
View Replies
View Related
I have an problem with Firefox. I'm using an username and password session in asp. And IE uses the sessions after i reload/refresh a page. But in Firefox i have to login again. It doesn't save the sessions for later use.
Does anybody know the sollution? Because I've searched everywhere.
View Replies
View Related
I want to refresh the parent window from child window.
window.opener.location.reload();
A message pops out and asks me to resubmit the data.
I don't want this message.
View Replies
View Related
I'm running Windows 2000 SP4 with the latest IIS and all its patches. I'm working on designing a shopping cart using ASP. The problem I'm running into is that I get random errors when I hit the reload/refresh button. Is this a common issue? The problem seems to stem from my use of the ODBC connection. I'm using a set of commands like this:
'Create command object and recordset
Set cm = Server.CreateObject("ADODB.Command")
Set rs = Server.CreateObject("ADODB.Recordset")
' Specify the system DSN path
cm.ActiveConnection = "SpiritPOS"
cm.CommandText= "SELECT * FROM table_master"
Set rs = cm.Execute
'Clean up
Set rs = Nothing
Does anyone see any apparent problems with this? I seem to get some errors stating there is a problem with ActiveConnection sometimes, too. Do I need to set this object to Nothing as well?
View Replies
View Related
when the senssion ends a message box pops up and alerts the customer that it has ended, but I would only know how to do it after they reload the page or soemthing to check if the session ended. Anyone know how to make a msgbox pop up as soon as the session ends? Also in IIS, is there a place where you can set the sesssion length?
View Replies
View Related
I have a child window that has a button to close it. I would like the parent window to be refreshed (since action taken in the child would change the values in the parent). The code I have works, but I get that "Retry" popup... I would like to bypass that. Any suggestions? Code:
View Replies
View Related
I got a asp page that has right and left site frame. I got a form in the right side frame and i want it reload the left frame when the it got submited .The left side frame displays that content of newly sumitted form.I be happy if some one help reload this left page when a form got submitted in right side frame with out using any auto refresh.
View Replies
View Related
I created a web page from Excel2000, using "Save as web page..."...Publish
function. then, I moved htm file to my IIS web server. Then I added a form control, and submit button.
How can get the data on the excel file using ASP from server side?
For example, the value of Cell(1,2), Cell(2,3)....
View Replies
View Related