Click here to Skip to main content
12,701,828 members (34,427 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
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
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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 14 Dec 2012
Copyright © CodeProject, 1999-2017
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