Link to home
Start Free TrialLog in
Avatar of aqk139
aqk139

asked on

How to catch browser back button event

I need to catch browser back button event. Actually I need that whenever user click the back button of browser the result must be got from the server i.e ASP script should also run. Is it possible?

Waiting for your reply.

Thanks
AQ
ASKER CERTIFIED SOLUTION
Avatar of tittlejoseph
tittlejoseph
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aqk139
aqk139

ASKER

Using expire property of ASP does not work. What is the proper place of using this property. I mean at the begining of page or end of page. I tried both but failed.
Try this, should work

<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="1981">
try above meta tag on head part of the page
Has this helped?
Moondancer - EE Moderator
if you want the Code, to Get Rid of Sessions(Logout Page).then I have the Code, Lemme know if you need it for ASP Sessions.
Please return to this question to update and finalize it.

If Asker does not respond, EXPERTS please guide me with closing recommendations.

Thanks,
Moondancer - EE Moderator
Avatar of Gary
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Accept Answer by tittlejoseph
Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
GaryC123
EE Cleanup Volunteer