Session Tracking -Doubts

I have a doubts on sessions

I have created a session in my login page.

I press submit and it goes to the second page.

I save the second page in my Favourites.

Now i close the browser.

Again thru favourites i open the page.here i need to invalidate this session.?

please give me a detailed Note on this.

Thanks

Lokesh

[393 byte] By [vlokesh] at [2007-9-26 1:22:39]
# 1

create session id seperatel and put

this code all ur page for checking

<%String idj=(String)session.getValue("ur session id");

try {if (idj.equals(null))

{ response.sendRedirect("login.jsp");

}

}

catch(Exception e) {

response.sendRedirect("login.jsp"); } %>

b_babu at 2007-6-29 1:00:02 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

create session id seperatel and put

this code all ur page for checking

<%String idj=(String)session.getValue("ur session id");

try {if (idj.equals(null))

{ response.sendRedirect("login.jsp");

}

}

catch(Exception e) {

response.sendRedirect("login.jsp"); } %>

b_babu at 2007-6-29 1:00:02 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
Ok thanks
vlokesh at 2007-6-29 1:00:02 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...