Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Active Server Pages (ASP)
Expertise: Beginner
Aug 26, 1999



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Manipulating the Browser's Back Button

I created a Web page that uses ASP to access a database on the server and return data to a client browser. While the data is accessed the client can't use his browser's back button to go back to a previous page because the previous page was also an ASP page that was dynamically loaded. I can post my own "BACK" link that uses the session object to get this to work. Is there a way I can get the browser's back button to work also?

You can modify the History object by using the JavaScript location.replace function. It works okay in Netscape. However, it is very unpredictable in behavior and does not work efficiently in Internet Explorer. You may need to access some JavaScript sites to learn more about the function.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date