On 10/6/05, Mark <[EMAIL PROTECTED]> wrote:
> basically, I want to prevent users from logging in and creating a
> second session if a valid session for that user already exists.
>
> For instance.
>
> 1. Log in to my web app, session is created
> 2. browse around in my web app
> 3. close browser, do not logout
> 4. Start browser up again
> 5. try and log in
> 6. Do not allow login, have user 'reconnect' to the old session
> created in step 1.
>
> I have written quite a few web based apps, and I know of no way to
> kill the session at step 3.

pretty easy, set session timeout to 1 minute and integrate a hidden
frame or javascript-loaded-image in your application that reloads all
30 seconds. 60-99 seconds after the user closed his browser the
session would be killed.

>
> Hope this clears things up.
>
> Thanks again!
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to