Click here to Skip to main content
Rate this: bad
good
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 at 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 at 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
0 DamithSL 445
1 Maciej Los 278
2 OriginalGriff 229
3 Zoltán Zörgő 190
4 BillWoodruff 160
0 OriginalGriff 7,934
1 DamithSL 6,084
2 Sergey Alexandrovich Kryukov 5,449
3 Maciej Los 5,174
4 Kornfeld Eliyahu Peter 4,539


Advertise | Privacy | Mobile
Web03 | 2.8.141223.1 | Last Updated 14 Dec 2012
Copyright © CodeProject, 1999-2014
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