Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

doubts in jsp page

  Asked By: Kristopher    Date: Apr 22    Category: Java    Views: 624

I am beginner of JSP developer .I hve one doubt
I developed one jsp appln .If i logout from my appln after then i press
BACK btn in Internet Explorer then it goes to previous page of my appln .But
i want go to Login page of my JSP application.
What can i do for this plz help me give solution for this task.



3 Answers Found

Answer #1    Answered By: Jenny Lopez     Answered On: Apr 22

Check for the existence of user id value in each and every page  i.e
If you are storing that in session then check whether the value is in
If session has null value redirect the page to login..
If this code is available in all the page of your application, that is
good in point of security..

Hope you are ending the session at the logout..

Answer #2    Answered By: Aiko Suzuki     Answered On: Apr 22

to come out frm this problem u have to create sessions.
nd at the time of logout or i mean to say at ur last screen u have to clear tht
session .in tht way u can never access ny page  by usin back button.

i think u got me.if not then tell me immediately..so tht i can help  u

Answer #3    Answered By: Ellen Simpson     Answered On: Apr 22

you have to write


Didn't find what you were looking for? Find more on doubts in jsp page Or get search suggestion and latest updates.