Creating An Automatic Reload Page
How can I create an automatic reload page, depending on a timer in ASP code?
View RepliesHow can I create an automatic reload page, depending on a timer in ASP code?
View Replieson 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
How do I get a text link a href to create a session variable and then reload the current page?
View Replies View RelatedHow can I reload the page on click on the BACK button in browser? Or what's event happened on that click?
View Replies View RelatedOn 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>
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">
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 RelatedI 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?
How do I via an ASP, load the page, pause for 30 seconds
and reload/refrest the page with no user intervention?
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.
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 RelatedOn 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).
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 RelatedI 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?
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 RelatedI'm trying to automatically submit a form to another ASP page after
some <input> fields values are filled by ASP.
I know I can do it using javascript, but is there a way to
automatically submit the form using VBscript? Code:
I'm using Windows 2000 Pro SP4 and Office 2000 Pro Sp3.
I have some dynamic database pages that I do not want a user to see from their local cache of pervious visits to this page.
When these individual pages are called, I would always want them refreshed from the server. This is no matter what setting is used by the local browser.
The closest KB article I found was Q200131, but that was not helpful to me.
If a page by page determination of an automatic server refresh (rather than local cache refresh) is not possible, may I just set my entire web to be a forced server refresh for every page, thereby superceding the user's local browser settings.
I created connection to the Microsoft Access DB using DSN from my ASP page.
<%
Set vpconn = Server.CreateObject("ADODB.Connection")
vpconn.ConnectionString =
"File Name=c:inetpubwwwrootDBDNAME.dsn"
vpconn.Open
' Close connection immediately after opening for testing
vpconn.Close
Set vpconn=Nothing
%>
The Microsoft Access, for every database opened for shared use, creates an .ldb file to prevent users from writing data to pages that other users have locked. Whenever the last user closes a shared database, the .ldb file should be deleted.
It is working; the .ldb file is deleted immediately after closing connection
but not if you open/close this connection from your ASP page.
What I found, the .ldb file is deleted with about 70 seconds delays after closing connection from an ASP page.
i want to include an xml file as an asp include file - i'm transforming it using xslt, but it just appears as a blank.i take it i have to use xslt to transform the xml file to an asp page. can anyone point me to tutorials or tell me how ?
View Replies View RelatedI try to develope a category page in asp. How can i creat a new asp page and save it on the server dynamically?
View Replies View RelatedI am looking to create some sort of function that on the click of a submit button, a new HTML page will be created. Is this a simple task or something that I should research?
View Replies View Relatedmy problem is:
i am creating a appointment calender everything is fine except for one page
what I want is to have no duplicate times for example if someone books 2opm on tuesday 22 of june no one else can book the same time.
I have set the database to not allow duplicate entries but I need a page that if someone tries to book the same time it will say sorry that time is taken.
Does anyone know of a web-based tool that will allow users to print certain pages in PDF?
View Replies View RelatedIn my site i need to give the user an option to have a landing page to a site or not to.
If they choose no i need to create a page that has a basic response.redirect in the page
so the code that would be used to generate the link would look something like this :
<%response.redirect("/site/" &siteName & "/" & pageName & ".asp")%>
So how do i create a page with asp?
how to get started with this project. I want a page where a
user can manually enter an order. Our users know our order# system and it's
much easier to manually enter items as opposed to using a shopping cart and
flipping through multiple pages.
On the page would be the following....
1) Billing address
2) shipping address
3) fields for order numbers
Billing and shipping seem pretty straight forward.
Because I have no idea of how many products a customer will order, I'm
picturing a new order# field being created when one is filled out. How do I
do this?Then, assuming I get all these dynamically generated fields, how do I get
them into an OrderDetails table?
if there is a method out there that allows me to create a web page util to see if URL links are still valid. In other words I've created a system whereby a user can add their own links/urls page, but they want to periodically check whether all of these links by executing a multi-check.
My theoretical thought on this would be that the script would check if it receives a 404 on each page request and mark a flag if and when it gets it, but as to how I would do this in ASP or JavaScript.
i have been trying to create a search and result page. - (The same page if possible) using both Dreamweaver and Frontpage. But keeps returning a provider failure code. i know want to just code it to see if that will work but am a newbie when it comes to coding. I wish to do a search on 1 field in a SQL database if at all possible using a trusted connection, but return more fields from various tables.
View Replies View RelatedI got a ASP page where one can add a record or update any existing records.
As soon as a record is added it is appended to the existing records. With
this design user can check for erors in existing records or the added record.
Initially, there was ino data validation rule.
Now, as soon as I am putting
data validation via script, I cannot update the exisiting data as the
validation looks for empty space in the text boxes meant for adding data. Is
there any way, I can avoid this situation and can update existing records. If
this is possible, how does one validate the existing records.
I’ve created an application with 3 pages[forms] that have information that must be entered. This application has a session variable that is passed from page to page to ensure that the information that is put in the tables in the Sql Server database is linked together. It also sends an email after the last page is submitted.
My problem is that I am trying to create a page that will show the user what they have entered and allow them to go back and make changes if necessary, before they go to the next page. [A verification page I guess you would say]
I have created the 1st verification page which shows the info [from the first form] the way I want it to and it allows them to go back and make changes, [while I’m testing locally, that is]. When I go live, it skips over the 1st verification page and goes straight to the next form page. It does process all the code that is in the verification page and adds the info to the database but it will not show the verification page! When I do get it to show the verification page, it does not process the code behind the page that adds to the database. Code:
I am attempting to only show 10 results per page in my results page. I keep on getting the following error. Wrong number of arguments or invalid property assignment: 'MoveFirst'
Does someone know where i am going wrong? Code:
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?
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.
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: