You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Anthony Smith <an...@fedex.com> on 2002/03/21 23:30:52 UTC
Database Sessions
I have a database session open for each user, but a user never gets logged
out of his db session if he doesn't logout. If he just closes the browser
window, then to the db he is still logged in. Does anyone know how I can
implement some kind of db session timeout for each user? So if he closes his
window, after a number a minutes or hours, he will automatically get logged
out of his session.
Anthony Smith
GSP Technologies
901-263-8953
"Having education and talent doesn't make you better than the world... it
makes you responsible for it!"
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Database Sessions
Posted by Chris Kimpton <ki...@yahoo.com>.
Hi,
--- Anthony Smith <an...@fedex.com> wrote:
> I have a database session open for each user, but a user never gets
> logged
> out of his db session if he doesn't logout. If he just closes the
> browser
> window, then to the db he is still logged in. Does anyone know how
> I can
> implement some kind of db session timeout for each user? So if he
> closes his
> window, after a number a minutes or hours, he will automatically
> get logged
> out of his session.
>
Where are your db sessions being stored? If they are stored in the
http session, then this will eventually time out - you need to make
sure your session closes itself then - either via finalizers or
session notifications.
HTH,
Chris
=====
http://www.soccer2002.org.uk - join in and win CA$H!
__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards�
http://movies.yahoo.com/
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>