.com
*"Khalid K." <[EMAIL PROTECTED]>*
04/20/2004 07:13 AM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
"'Struts Users Mailing List'" <[EMAIL PROTECTED]>
cc
Subject
RE: detecting sessio
On Apr 20, 2004, at 12:30 AM, [EMAIL PROTECTED] wrote:
We have done a similar thing with filter. You put a check in the
filter to redirect to an error page if the session is not present in
the request. this will also prevent a user to access the site without
login in.
Although you have to put a
Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
"Khalid K." <[EMAIL PROTECTED]>
04/20/2004 07:13 AM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
"'Struts Users Mailing
List'" <[EMAIL PR
You can store an attribute in session when you initially start the session
Subsquent checks for that attribute on EACH request will check if that
Attribute doesn't exist...session has expired or they are not logged on etc.
Of course the key to this is to put a hook on RequestProcessor to run this
Hi Dean,
The most simplest check that I could think of is this:
request.getSession().isNew(); if this returns true, then the session is
a new one and hence, the previous session has been timed out. However,
this solution will not work if the server uses a cookie-based session
and the client has di
5 matches
Mail list logo