Click here to Skip to main content
15,615,016 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hello frnds,
i have d problem, that
when we use back page button of browser
after successfull loged in, then we move to
page where user can log in,but if we again use
browser's forwrd page button,then it redirect me to the
next page....that should not be hapend

so plz suggest me solution for this problem
and it will be more batter if u provide me the source code
with example..........

kindly waiting for positive reply
Christian Graus 24-Aug-10 15:55pm    
Reason for my vote of 1
textspeak through out post. We're not children, and you have a full keyboard in front of you.
Smithers-Jones 24-Aug-10 16:33pm    
Reason for my vote of 1
Asking for source code and using textspeak... veeeery bad.

1 solution

Clear the cache when the login page is displayed.

On a number of sites i've been to, once you login, you don't have to again unless you shut the browser down and restart it. IMHO, that's a lot less intrusive.
Share this answer
nilesh.d.mankar 25-Aug-10 3:54am    
hello john
bt i used session to store username
so how can i solve my problem, and clear the cache
plz tell me

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

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900