Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

STOP cfincluded from refreshing

Status
Not open for further replies.

Yelellav

Programmer
Feb 7, 2002
12
US
Does anyone know how to stop cfinclude from refreshing the "main" page. I have a directory page that is included into my main page. When a link on the directory is clicked I lose any information that the user has put into the page, before they have had a chance to submit. Is there anyway to store the user input or stop the include from refreshing?
 
This is actually a feature of your browser. I've noticed with older browsers you could go back and have your fields still filled in however in newer browsers you are forced to fill in the fields again. You could submit the form with javascript when the link is pressed but not process any of the fields just keep the values perhaps in the session so that when the user returns to that page you prefil the form with the values that are held in the session.

HTH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top