Hi Everyone,
I have looked through all the emails that are raging at the
moment about session timeouts. I have a similar problem but when the session
times out I have to remove his entry from a database table.
Basically the scenario is this:
The user logs into the system and an entry is added to a table
(used to ensure that no one person can login twice)
He/she makes use of the system and then he could use the
logout button which would clear the table, or the session out timeout and then
he try's to use the system again, but he is returned back to the login screen
(and his entry in the table is removed). What I can't work out how to do is if
the user just closes his window or types in another URL etc how can I trap that
and remove his entry from the table.
Is there an function that can be written in the sessioned bean
that when the session times out that function is ran and clears up after
itself???
The only other solution I can think of is to date/time stamp
the entry in the login table and everytime an operation is carried out this is
updated, and then in the background have a routine which is clearing out this
table....
Any help would be greatly appreciated,
Ian
|
- Re: Session timeout and having to make a database call Ian Graham
- Re: Session timeout and having to make a database... Daniel Lopez
- Re: Session timeout and having to make a database... Scott Evans
- Re: Session timeout and having to make a data... Ian Graham
- Re: Session timeout and having to make a ... Craig R. McClanahan