Re: Bug in forms authentication?
- From: mircu <mircu@xxxxx>
- Date: Thu, 29 Sep 2005 12:05:48 +0200
KMA wrote:
> Maybe I'm being thick, but what have sessions to do with forms
> authentication. Isn't the auth token saved as a cookie. And the cookie is
> shared.
You are right that sessions and form authentication are separated
things. In my application I have tied it together a little. When the
user is logging I create the auth cookie and add to the response. When
logging out the FormsAuthentication.SignOut() and Session.Abandon() are
called.
>
> Try using two different browsers rather than two instances of the same
> browser type.
OK. I've checked this: when I'm connecting from two IE browsers it _is
not OK_, when from two Firefox browsers also _not OK_, but when from one
IE and one Firefox it _is OK_.
Hmm, maybe the auth cookie is shared across the browsers (the same type).
BTW Is there a way to list all cookies stored in memory?
>
> BTW, isn't the displayed functionality the desired case? That users remain
> logged in at the server even if their browser is restarted/doubly launched.
When the server is restarted sessions are lost (I have to use in-proc
sessions) so users can not continue work after the server is restarted
and should login again.
>
> As stated above, I could be a bit thick.
>
>
> "mircu" <mircu@xxxxx> wrote in message
> news:OEw6B1MxFHA.3864@xxxxxxxxxxxxxxxxxxxxxxx
>
>>Peter Rilling wrote:
>>
>>>If you did a ctrl-N, then they are part of the same session and I would
>>>imaging so is the user logged in.
>>
>>A noted in my post that the other browser window was _not_ opened with
>>ctrl-N. I know that then it would be the same session.
>>
>>regards,
>>mircu
>
>
>
regards,
mircu
.
- References:
- Bug in forms authentication?
- From: mircu
- Re: Bug in forms authentication?
- From: Peter Rilling
- Re: Bug in forms authentication?
- From: mircu
- Re: Bug in forms authentication?
- From: KMA
- Bug in forms authentication?
- Prev by Date: POST from external form doesn't work?
- Next by Date: Re: Add a button to the Excel sheet
- Previous by thread: Re: Bug in forms authentication?
- Next by thread: Re: Bug in forms authentication?
- Index(es):
Relevant Pages
|