|
|
|
start date: Tue, 21 Aug 2007 10:37:20 -0500,
posted on: microsoft.public.dotnet.framework.aspnet
back
| Thread Index |
|
1
Ross Culver
|
|
2
Patrice http://www.chez.com/scribe/
|
|
3
Steve
|
|
4
Peter Bromberg [C# MVP]
|
|
5
Ross Culver
|
Session State Mode Comparison
Is one session state mode better than another?
Ross
Date:Tue, 21 Aug 2007 10:37:20 -0500
Author:
|
Re: Session State Mode Comparison
As anything else this is always a trade off. I would suggest to use inproc
until you know why you would want another one (load balancing, surviving to
restarts etc...).
--
Patrice
"Ross Culver" a crit dans le message de news:
euBavjA5HHA.3900@TK2MSFTNGP02.phx.gbl...
> Is one session state mode better than another?
>
> Ross
>
Date:Tue, 21 Aug 2007 17:42:19 +0200
Author:
|
Re: Session State Mode Comparison
InProc is best when:
1) You don't have a lot of simultaneous users (1000+)
2) You don't have a server farm
3) You don't have a lot of data to store per user
Out of Proc (StateServer) is next best when you exceed the above
limitations, but:
1) Your "session stated" data is not that important to need SQL
persistence.
2) You don't mind losing the data if the server restarts
3) You need faster performance than SQL Server gives you
Out of Proc (SQL) is best choice for out of Proc because:
1) SQL Persistence gives you reliable storage
Keep in mind that the performance goes from (best to worst)
InProc->StateServer->SQL
Steve C.
MCAD,MCSE,MCP+I,CNE,CNA,CCNA
Ross Culver wrote:
> Is one session state mode better than another?
>
> Ross
>
>
Date:Tue, 21 Aug 2007 12:01:15 -0400
Author:
|
RE: Session State Mode Comparison
http://www.eggheadcafe.com/articles/20021016.asp
--
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com
"Ross Culver" wrote:
> Is one session state mode better than another?
>
> Ross
>
>
>
Date:Tue, 21 Aug 2007 18:38:01 -0700
Author:
|
Re: Session State Mode Comparison
Peter,
Thanks for the links. Even after placing the <Serializable()> tag in front
of every 'Partial Class' statements on every aspx page in my site, I still
get the standard Unable to serialize the session state' error message when
loading ASP Configuration Administrator. I've also already run the
aspnet_regsql.exe, InstallSqlState.sql and aspnet_regiis.
What else do I need to do?
Ross
"Peter Bromberg [C# MVP]" wrote
in message news:4FDA0916-7C4F-4A05-831F-4F27793832AA@microsoft.com...
> http://www.eggheadcafe.com/articles/20021016.asp
> --
> Recursion: see Recursion
> site: http://www.eggheadcafe.com
> unBlog: http://petesbloggerama.blogspot.com
> BlogMetaFinder: http://www.blogmetafinder.com
>
>
>
> "Ross Culver" wrote:
>
>> Is one session state mode better than another?
>>
>> Ross
>>
>>
>>
Date:Tue, 21 Aug 2007 22:47:06 -0500
Author:
|
|
|