Re: URGENT: please help ASP.NET Forms authentication and recycling of application pool
From: Dominick Baier [DevelopMentor] (dbaier_at_pleasepleasenospamdevelop.com)
Date: 05/26/05
- Next message: Dominick Baier [DevelopMentor]: "Re: AuthenticateRequest in Global.asax and a custom HTTP Module"
- Previous message: Pasi Häkkinen: "RE: Quering PrincipalPermissionAttributes on class"
- In reply to: anjinho: "URGENT: please help ASP.NET Forms authentication and recycling of application pool"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 26 May 2005 00:10:00 -0700
Hello anjinho,
as i said - formsauth does not rely on session but on cookies - so yes that
would help...
but this doesn't solve the recycling prob - causes for recycling could be:
- misconfigured <processModel> element in machine.config
- write access to web.config
Win2K also has a state server - so this is no argument.
I would urge you/the provider to upgrade - running IIS5 in a shared hosting
scenario is a major secuirty problem.
---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
> Hello Dominick
>
> I asked and see that my hoster uses IIS 5 and win 2000 and I have not
> an option of a state server.
>
> I know that under IIS6 is an application pool that gets recycled, is
> this also the case under IIS5?
>
> I have never problems, only now and then that I lose sessions (within
> the time-out).
>
> So can I fix the problem with forms authentication because they rely
> on cookies?
>
> Best regards
> Andrew
> Dominick Baier [DevelopMentor] wrote:
>
>> [B]Hello anjinho,
>>
>> Context.User is rehydrated on every request and does not rely on
>> something store InProc.
>>
>> A quick way of mitigating the recycling problem is to use the
>> StateServer
>> - change web.config to StateServer and enabled the local ASP.NET
>> StateServer
>> service in computer manager.
>> ---------------------------------------
>> Dominick Baier - DevelopMentor
>> [url]http://www.leastprivilege.com[/url]
>> [color=darkred]
> --
> anjinho
> ----------------------------------------------------------------------
> --
> Posted via http://www.codecomments.com
> ----------------------------------------------------------------------
> --
- Next message: Dominick Baier [DevelopMentor]: "Re: AuthenticateRequest in Global.asax and a custom HTTP Module"
- Previous message: Pasi Häkkinen: "RE: Quering PrincipalPermissionAttributes on class"
- In reply to: anjinho: "URGENT: please help ASP.NET Forms authentication and recycling of application pool"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|