Re: forms authentication cookie changes
From: Andy Fish (ajfish_at_blueyonder.co.uk)
Date: 07/22/05
- Previous message: Steven Cheng[MSFT]: "Re: Failure to set credentials"
- In reply to: Dominick Baier [DevelopMentor]: "Re: forms authentication cookie changes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 22 Jul 2005 09:08:11 +0100
Thanks Dominick.
I knew it re-sent the cookie after half the timeout but I didn't realise it
would generate a new one.
"Dominick Baier [DevelopMentor]" <dbaier@pleasepleasenospamdevelop.com>
wrote in message news:628051632575660210169952@news.microsoft.com...
> Hello Andy,
>
> FormsAuth issues a new cookie after timeout/2. That's the behaviour when
> you have sliding expiration enabled.
>
> ---------------------------------------
> Dominick Baier - DevelopMentor
> http://www.leastprivilege.com
>
>> Hi all,
>>
>> For reasons I would rather not go into, I sometimes need to get the
>> value of the forms authentication cookie and use it later when
>> submitting another request to the server.
>>
>> mostly this works fine but sometimes it seems that the server decides
>> to change the forms authentication cookie (in contrast to the session
>> cookie which stays the same the whole time the session is in
>> existence).
>>
>> note that this is not happening because the authentication timeout has
>> expired. I am still logged on as the same user and have the same
>> session; it's just that the cookie value has changed.
>>
>> Can anyone explain why and how this happens, and if there is any way I
>> can control (or disable) this behaviour?
>>
>> TIA
>>
>> Andy
>>
>
>
>
- Previous message: Steven Cheng[MSFT]: "Re: Failure to set credentials"
- In reply to: Dominick Baier [DevelopMentor]: "Re: forms authentication cookie changes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|