|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
this is my prob...
i hv designed a login page...which checks the username & password b4 loading the main index page of the website.... if the login fails it redirects to the same login page again.... the login code works perfectly well....no probs there... the issue is tht once login is successful & the index page loads......if the user clicks the browsers back button it goes back to the login screen....this is fine too.. however....once here..if the user uses the forward button the index page auto loads without even the need for the pasword...& tht wud b a major flaw...!! i need to know how to avoid this..... i think i shud b using asp session variables to terminate the session or something like tht....tried many ways the whole day..no luckkkk!!! cud some1 help me out with the coding steps( in detail pls..im a novice) hope u hv got the prob here.... let me know if there is a simple way to do this this is my first ever post on this forum....hope to c encouraging replies! |
|
#2
|
||||
|
||||
|
hey there,
firstly you don't say which language you are using..asp/asp.net and vb/c# that would help if you are expecting code samples! Also this should really have been posted in the relevent asp forum at the top for the site...unless of course you actually want some help with php or something that does not have an area of its own ![]() in general i don't see why if they are logged in and press back and forward it is a problem. As long as they logout when they have finished then there should be no issue. But if you wan to log them out when they press back then yes you need to destroy their session. Let us know what language you are using...then people can help more.. RF
__________________
|
![]() |
| Viewing: ASP Free Forums > Other > Programming Help > need help with login page(urgent) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|