i've a problem here where when i logout i still can click back..can anyone solve my problem?
kayfar
0
Junior Poster in Training
Recommended Answers
Jump to Postyou can solve this problem using state managment or database.
When you login store your username in cokkies and when you logout that time cler your cokkies. and on page postback check whether the Cokkies have username. If cookies dose not have any username then redirect User to login page …
Jump to PostKayfar;
Please post your login/logout code here (minus any password sensitive information if present in your code) so that we can see the process you're using to maintain your login session.
Depending on your session management method we may be better able to suggest the best possible method …
Jump to PostBest way to do it Store user details in session when login and with logout clear session data, On every page load event check user credential then only proceed else redirect it to login page.....:icon_idea:
Jump to Postyour application willnot able to check creadantioal
This is dependant on browser as well as postback properties of the pages. Even if the browser is pulling the page content from it's cache, if the page code requires a check of credentials at page_load it should still technically be performing this …
Jump to PostThis will work.... whether its cached or not.....clearing cache is not a good idea for me as it could lead to client dissatisfaction.
All 27 Replies
hirenpatel53
-1
Posting Whiz in Training
kayfar
0
Junior Poster in Training
pritesh2010
30
Posting Whiz in Training
Lusiphur
185
Practically a Posting Shark
Team Colleague
Featured Poster
hirenpatel53
-1
Posting Whiz in Training
mono_jit23
1
Junior Poster in Training
hirenpatel53
-1
Posting Whiz in Training
Lusiphur
185
Practically a Posting Shark
Team Colleague
Featured Poster
mono_jit23
1
Junior Poster in Training
mono_jit23
1
Junior Poster in Training
hirenpatel53
-1
Posting Whiz in Training
mono_jit23
1
Junior Poster in Training
hirenpatel53
-1
Posting Whiz in Training
kayfar
0
Junior Poster in Training
hirenpatel53
-1
Posting Whiz in Training
hirenpatel53
-1
Posting Whiz in Training
kayfar
0
Junior Poster in Training
hirenpatel53
-1
Posting Whiz in Training
kayfar
0
Junior Poster in Training
hirenpatel53
-1
Posting Whiz in Training
kayfar
0
Junior Poster in Training
hirenpatel53
-1
Posting Whiz in Training
reach_yousuf
2
Junior Poster
kayfar
0
Junior Poster in Training
Lusiphur
185
Practically a Posting Shark
Team Colleague
Featured Poster
dnanetwork
18
Practically a Master Poster
Banned
kayfar
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.