Hi, --- Anthony Smith <[EMAIL PROTECTED]> 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: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
