Re: Bug in forms authentication?
- From: mircu <mircu@xxxxx>
- Date: Thu, 29 Sep 2005 14:55:17 +0200
KMA wrote:
> I'm still a bit puzzled as to why you think the observed behaviour is
> incorrect. If I launch two instances of the same browser then they share the
> same (client-side stored) cookie. If I log on in one then I'm effectively
> logged on in the other. The "browser type cookie is logged on", you might
> say.
I know that this behaviour can be correct in one situation but it is not
correct in another. In my situation I'd like to log in in one browser
with different role than in another. If I'm logged in one browser, then
if I am automatically authorized to the site from other browsers I can
not log in as a different user with different role.
> However, if you are personally storing something in a session volatile way
> and the sessions are lost through a restart, it is up to you to write that
> data to pernanent storage beforehand and recover it after. But I don't see
> how the Forms authentication model is to blame here.
I blame it that it doesn't work in the situation I described earlier. I
agree that in one situation the behaviour is correct but if I wanted
something other it seems that it can't be customized. The fix would be
simple, the cookie name or data should be allowed to append user defined
data (eg. user name/role/id) and then if I wanted to log in from two
browsers I would have two cookies and when logging off only one cookie
(matched the defined data) should be deleted.
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
- Re: Bug in forms authentication?
- From: mircu
- Bug in forms authentication?
- Prev by Date: Re: Going nuts - Configuration Error
- Next by Date: Re: databind to datarow
- Previous by thread: Re: Bug in forms authentication?
- Next by thread: Re: Why popup window will be re-opened again after closing it?
- Index(es):
Relevant Pages
|