Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want functionality ,when user click on browser back button that time cart session will be destroy and go back with conformation message.

This is online e-commerce website i want this function on that.
Posted

1 solution

Please refer to following Code Project Article;

Solution to Browser Back Button Click Event Handling[^]

On the event you could call a server page to destroy the session, as we do on Sing-out.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900