Click here to Skip to main content
11,719,753 members (92,087 online)
Rate this: bad
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 17:34pm
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
Please Sign up or sign in to vote.

Solution 2

Check this link to disable backbutton in javascript and in c#[^]

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 665
1 OriginalGriff 340
2 F-ES Sitecore 185
3 Suvendu Shekhar Giri 140
4 Maciej Los 100
0 Sergey Alexandrovich Kryukov 1,734
1 OriginalGriff 690
2 Maciej Los 569
3 Richard MacCutchan 540
4 F-ES Sitecore 510

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