About Me

My photo
Nadiad, Gujarat, India
Hi Friends I am Vipul Soni, an Innovative web Designer & Developer with Excellent skills who thrives on challenges and is passionate for all areas of web Design & Development.

Tuesday, 14 June 2011

How to Disable back button after signout/logout

write the below line(For C#) at the page/pages where u r after sign in and accessing them

On Page load event :

Response.CacheControl = "no-cache";
if (Session["SessionName"] == null)

and it's done when u r go to the your redirected page & press back button of browser it will remain in the same page.

Good luck.


Post a Comment

There was an error in this gadget