So, you are saying I should use Servlet Mapping at the server level?? and
then check the URI upon session timed out?
This might works, but the problem is there might be different group of users
that will come from different login page and thus must come back to the
login page that they came from. This is because I implement skinning into my
servlet based on the group id of the user.
For example:
Person a, b, and c will come from alphabet group and thus gets an alphabet
login and logout or session time out to the alphabet login.
Person 1, 2, and 3 will come from numeric group and thus gets an alphabet
login and logout or session time out to the numeric login.
Person i, ii, and iii will come from roman numeric group and thus gets an
roman numeric login and logout or session time out to the special logout
place.
So, as you can see the difference in group does not easily allow me to tweak
on the server or servlet engine level. But I appreciate your thought.
Thanks
Rendra
-----Original Message-----
From: Tim Panton-Westpoint Ltd [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 1:11 AM
To: [EMAIL PROTECTED]
Subject: Re: Session Time out
You could do some tricks in the
url, either:
1) extend the path so that
http://zone/servlet/loginone
sends the user to http://zone/servlet/main/one
and http://zone/servlet/logintwo
sends the user to
http://zone/servlet/main/two
map your main servlet to
http://zone/servlet/main
and on session timeout get the
'extra' path info and redirect
accordingly.
2) map your main servlet(s)
twice, each with an initarg pointing
at their respective login page
the second is probably tidier,
especially if you want internal
differences in the main servlet.
"Basuki, Rendra" <[EMAIL PROTECTED]> wrote:
__________
>Hi guys,
>
>I have two different login page for different kind of user. If the user
>wants to enter from Login page one, whne they logged out or got session
>timed out, I would like them to return to the page that they logged from.
http://www.westpoint.ltd.uk/
Internet reconnaissance services.
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html