Click here to Skip to main content
12,064,615 members (26,735 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET
i found a problem in my website that

when user logged in page not redirect to login page in browser back button
like gmail.please give complate solution for that.

thak you in advance
Posted 13-Dec-12 18:34pm
Comments
Sampath Kumar Sathiya 14-Dec-12 0:27am
   
Could you please give some more details? If user clicks the back button whether you want to redirect to login page or if user trying to access any page before login you want to land in login page.
kaushikpintu 14-Dec-12 2:35am
   
My Problem is like
when user logged in
for example if u login in gmail then control transfer to inbox mail and now u browser back button click control not transfer to login page.

please give me solution

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

Check this link to disable backbutton in javascript and in c#
http://csharpdotnetfreak.blogspot.com/2009/04/disable-browser-back-button-javascript.html[^]
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160204.4 | Last Updated 14 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100