Originally posted by Martijn Verburg:
Akhilesh, that's not really the way we should reply to people here on Javaranch, we just need to ask Tinu S M to clarify his question!
@Tinu, can you explain what the desired behaviour is? I assume after you sign out that you want to return to a login page, is that correct?
I apologize Martijn, but my intent was to get Tinu back with the question rightly framed.
@ Tinu, i am not aware if you read my reply before Bear edited it, but if you have felt bad by any sort then please forget or forgive. Happy ranching.
This is bacause of session management, when a user logged in, we can store user related data in session, when you log out, session is closed, thet is why you cant go back to a page which is visible while logged in. please read more about session management to get more idea about this.
if i logout and then if i use the back button of my browser,
whtr i can access the prevoius page which i am using just before logging out ,if no why?
Firstly please use real words "whtr" is not a real word.Read this for more information.
Depends on the web application design, although most of them will redirect you to login page some will show you the previous page(which is actually cached).
Hope this helps
Be aware that accounts with invalid display names are disabled.