473,511 Members | 14,975 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web server Cluster and SESSION.

Hi everyone,

Will clustering of webservers affect SESSION states?

Is there a dotnet term for the above mentioned scenario?

Pls advise.

Thanks.

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Mar 26 '07 #1
13 2398
You can store your session in a SQL Server such that your web servers all
access the same store, however you have to note that everything you store in
the Session needs to be serialisable for that to work.

"Eric Layman" <namyalcire[at no spam]gmail.comwrote in message
news:11*************@sp6iad.superfeed.net...
Hi everyone,

Will clustering of webservers affect SESSION states?

Is there a dotnet term for the above mentioned scenario?

Pls advise.

Thanks.
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Mar 26 '07 #2
in this case store the session in SQL
"Eric Layman" <namyalcire[at no spam]gmail.comwrote in message
news:11*************@sp6iad.superfeed.net...
Hi everyone,

Will clustering of webservers affect SESSION states?

Is there a dotnet term for the above mentioned scenario?

Pls advise.

Thanks.
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Mar 26 '07 #3
Thanks!

But, is this step a must? Since this article was dated 12 Jun 06

http://support.microsoft.com/kb/317604

Currently on .net 1.1

"Aidy" <ai**@noemail.xxxa.comwrote in message
news:uN******************************@bt.com...
You can store your session in a SQL Server such that your web servers all
access the same store, however you have to note that everything you store
in the Session needs to be serialisable for that to work.

"Eric Layman" <namyalcire[at no spam]gmail.comwrote in message
news:11*************@sp6iad.superfeed.net...
>Hi everyone,

Will clustering of webservers affect SESSION states?

Is there a dotnet term for the above mentioned scenario?

Pls advise.

Thanks.
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com



Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Mar 26 '07 #4
Eric, please see my just-sent reply.
You can also use ASP.NET's State Server to maintain state in a cluster.

....and, please fix your clock.
You're posting 15 hours into the future. :-)

Thanks.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Eric Layman" <namyalcire[at no spam]gmail.comwrote in message
news:11*************@sp6iad.superfeed.net...
Thanks!

But, is this step a must? Since this article was dated 12 Jun 06

http://support.microsoft.com/kb/317604

Currently on .net 1.1

"Aidy" <ai**@noemail.xxxa.comwrote in message news:uN******************************@bt.com...
>You can store your session in a SQL Server such that your web servers all access the same store,
however you have to note that everything you store in the Session needs to be serialisable for
that to work.

"Eric Layman" <namyalcire[at no spam]gmail.comwrote in message
news:11*************@sp6iad.superfeed.net...
>>Hi everyone,

Will clustering of webservers affect SESSION states?

Is there a dotnet term for the above mentioned scenario?

Pls advise.

Thanks.
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
---------------------------------------------------------- http://www.usenet.com


Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
---------------------------------------------------------- http://www.usenet.com

Mar 26 '07 #5
State Server can also do the job for clustered servers.

ASP.NET applications support maintaining session state on a
centralized session state server *or* on a server running SQL Server.

Because the session state is managed centrally,
any cluster host can recover session state information.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Aidy" <ai**@noemail.xxxa.comwrote in message news:uN******************************@bt.com...
You can store your session in a SQL Server such that your web servers all access the same store,
however you have to note that everything you store in the Session needs to be serialisable for
that to work.
"Eric Layman" <namyalcire[at no spam]gmail.comwrote in message
news:11*************@sp6iad.superfeed.net...
>Hi everyone,

Will clustering of webservers affect SESSION states?

Is there a dotnet term for the above mentioned scenario?

Pls advise.

Thanks.

Mar 26 '07 #6
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:uR**************@TK2MSFTNGP05.phx.gbl...
State Server can also do the job for clustered servers.

ASP.NET applications support maintaining session state on a
centralized session state server *or* on a server running SQL Server.

Because the session state is managed centrally,
any cluster host can recover session state information.
Do you have any thoughts as to when to use one and when to use the other...?

There's a fair bit of information on the net about each individually, but
there doesn't seem to be much on which is the more suitable according to
infrastructure etc...
Mar 26 '07 #7
Thanks Juan!

What about implementation of cookies? I doubt cookies has the hassle of
sessions in a web cluster.

Since we are doing it for a company and the company is very strict about its
intellecutal properties; i doubt they are going to let us lay a finger on
their servers.

Im not 15 hours ahead. This is my local time. Its 9pm @ where I'm located
right now. GMT+8

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Eric, please see my just-sent reply.
You can also use ASP.NET's State Server to maintain state in a cluster.

...and, please fix your clock.
You're posting 15 hours into the future. :-)

Thanks.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Eric Layman" <namyalcire[at no spam]gmail.comwrote in message
news:11*************@sp6iad.superfeed.net...
>Thanks!

But, is this step a must? Since this article was dated 12 Jun 06

http://support.microsoft.com/kb/317604

Currently on .net 1.1

"Aidy" <ai**@noemail.xxxa.comwrote in message
news:uN******************************@bt.com...
>>You can store your session in a SQL Server such that your web servers
all access the same store, however you have to note that everything you
store in the Session needs to be serialisable for that to work.

"Eric Layman" <namyalcire[at no spam]gmail.comwrote in message
news:11*************@sp6iad.superfeed.net...
Hi everyone,

Will clustering of webservers affect SESSION states?

Is there a dotnet term for the above mentioned scenario?

Pls advise.

Thanks.
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com


Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com




Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Mar 26 '07 #8
re:
Do you have any thoughts as to when to use one and when to use the other...?
Couldn't you ask an easier question ?
That's a tough nut to crack.

:-)

All in all, I think it would depend on the size of the cluster.

Small and medium-sized clusters could probably make do with State Server.

For very large, and I mean *very* large, applications in large clusters,
redundant SQL Servers are called for.

That would mean : "a cluster of SQL Servers keeping state for a cluster of web servers".
The scalability of *that* configuration runs into many millions of hits daily.

Caveat : when using SQL Server mode, objects stored in session state
are serialised and deserialised when a request is processed.

You cannot store objects which do not support serialisation in session state,
if you use SQL Server, so that's something to keep in mind when programming.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Mark Rae" <ma**@markNOSPAMrae.comwrote in message news:%2****************@TK2MSFTNGP03.phx.gbl...
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:uR**************@TK2MSFTNGP05.phx.gbl...
>State Server can also do the job for clustered servers.

ASP.NET applications support maintaining session state on a
centralized session state server *or* on a server running SQL Server.

Because the session state is managed centrally,
any cluster host can recover session state information.

Do you have any thoughts as to when to use one and when to use the other...?

There's a fair bit of information on the net about each individually, but there doesn't seem to be
much on which is the more suitable according to infrastructure etc...

Mar 26 '07 #9
re:
What about implementation of cookies? I doubt cookies has the hassle of sessions in a web cluster.
You can use both cookies and cookieless sessions.

re:
Im not 15 hours ahead. This is my local time. GMT+8
This message is stamped a bit after midnight tonight.

:-)

Check your Windows timezone setting.
OE says you posted your message on Mon, 26 Mar 2007 21:10:26 -0700

That's GMT -7, not GMT +8 ( which adds up to the 15 hour difference we're seeing).
What's your physical location ?

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Eric Layman" <namyalcire[at no spam]gmail.comwrote in message
news:11*************@sp6iad.superfeed.net...
Thanks Juan!

What about implementation of cookies? I doubt cookies has the hassle of sessions in a web cluster.

Since we are doing it for a company and the company is very strict about its intellecutal
properties; i doubt they are going to let us lay a finger on their servers.

Im not 15 hours ahead. This is my local time. Its 9pm @ where I'm located right now. GMT+8

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
>Eric, please see my just-sent reply.
You can also use ASP.NET's State Server to maintain state in a cluster.

...and, please fix your clock.
You're posting 15 hours into the future. :-)

Thanks.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Eric Layman" <namyalcire[at no spam]gmail.comwrote in message
news:11*************@sp6iad.superfeed.net...
>>Thanks!

But, is this step a must? Since this article was dated 12 Jun 06

http://support.microsoft.com/kb/317604

Currently on .net 1.1

"Aidy" <ai**@noemail.xxxa.comwrote in message news:uN******************************@bt.com...
You can store your session in a SQL Server such that your web servers all access the same
store, however you have to note that everything you store in the Session needs to be
serialisable for that to work.

"Eric Layman" <namyalcire[at no spam]gmail.comwrote in message
news:11*************@sp6iad.superfeed.net...
Hi everyone,
>
Will clustering of webservers affect SESSION states?
>
Is there a dotnet term for the above mentioned scenario?
>
Pls advise.
>
Thanks.
>
>
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
---------------------------------------------------------- http://www.usenet.com

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
---------------------------------------------------------- http://www.usenet.com



Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
---------------------------------------------------------- http://www.usenet.com

Mar 26 '07 #10
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:Oz**************@TK2MSFTNGP02.phx.gbl...
re:
>Do you have any thoughts as to when to use one and when to use the
other...?

Couldn't you ask an easier question ?
:-)
Caveat : when using SQL Server mode, objects stored in session state
are serialised and deserialised when a request is processed.

You cannot store objects which do not support serialisation in session
state,
if you use SQL Server, so that's something to keep in mind when
programming.
Ah... that sounds like a bit of a "gotcha" - thanks for that...
Mar 26 '07 #11
Thus wrote Mark,
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:uR**************@TK2MSFTNGP05.phx.gbl...
>State Server can also do the job for clustered servers.

ASP.NET applications support maintaining session state on a
centralized session state server *or* on a server running SQL Server.

Because the session state is managed centrally,
any cluster host can recover session state information.
Do you have any thoughts as to when to use one and when to use the
other...?

There's a fair bit of information on the net about each individually,
but there doesn't seem to be much on which is the more suitable
according to infrastructure etc...
StateServer cannot be clustered, so it introduces a single point of failure,
making any cluster in front of it rather moot ;-)

Cheers,
--
Joerg Jooss
ne********@joergjooss.de
Mar 26 '07 #12
re:
StateServer cannot be clustered, so it introduces a single point of failure
Yes. That's why I said that it's only good for small/medium websites
( which don't require clustered web servers... )


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Joerg Jooss" <ne********@joergjooss.dewrote in message
news:94**************************@msnews.microsoft .com...
Thus wrote Mark,
>"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:uR**************@TK2MSFTNGP05.phx.gbl...
>>State Server can also do the job for clustered servers.

ASP.NET applications support maintaining session state on a
centralized session state server *or* on a server running SQL Server.

Because the session state is managed centrally,
any cluster host can recover session state information.
Do you have any thoughts as to when to use one and when to use the
other...?

There's a fair bit of information on the net about each individually,
but there doesn't seem to be much on which is the more suitable
according to infrastructure etc...

StateServer cannot be clustered, so it introduces a single point of failure, making any cluster in
front of it rather moot ;-)

Cheers,
--
Joerg Jooss
ne********@joergjooss.de


Mar 26 '07 #13
Yes, it will. Look into two options:
1) ASP.NET State Server
2) SQL Server Session State option
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Eric Layman" wrote:
Hi everyone,

Will clustering of webservers affect SESSION states?

Is there a dotnet term for the above mentioned scenario?

Pls advise.

Thanks.

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Mar 28 '07 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
2229
by: Rob Meade | last post by:
Hi all, At work we have 2 servers in a cluster for our web apps. One problem we have experienced (along with many others!) - is that if a user is logged into one of the applications on server...
1
2834
by: WildHare | last post by:
I am looking for documentation on state server failover. There is a microsoft article which sort of talks about protecting against a failed state server by using SQL server...but it about as clear...
5
2434
by: Abhilash.k.m | last post by:
This is regarding the session management using Out of proc session management(SQL SERVER). Among the samples below which one is better to set the session? 1. There are 20 session...
2
3423
by: Helge Kalnes | last post by:
We are running an ASP.NET application on a cluster of 3 web-servers, using the Network Load Balancing feature of Application Center. We have synchronized the machineKey in machine.config on the 3...
1
3025
by: news.microsoft.com | last post by:
Is there an elegant way to clear out the ADO connection pool used by the SQL Server State Service following a cluster failover? We are using a SQL Cluster to store both the ASP Session State...
5
4631
by: fm | last post by:
We are using ASP.NET State Server in our applications to protect session state from machine.config and IIS recycles. We also may cluster the servers in the future. We don't have the resources to...
2
5082
by: RyoSaeba | last post by:
Hello, I have a problem with the session state set to Sql Server (AspNet 1.1, Windows Server 2003 on an Application Center cluster, Sql Server 2000 on another server). Sometimes, when many user...
3
5403
by: Simon | last post by:
Hi All, I'm hoping someone will have some words of wisdom for me regarding MS Clustering on Windows 2003. I have a service that runs on a cluster. During invocation it's supposed to...
1
2722
by: =?Utf-8?B?VmlqYXkgQ2hpa3Rl?= | last post by:
Hi Experts, With Session Affinity and Web Server Farm on ISA Server 2006 accessing 2 backend IIS servers, I’m getting error “Validation of ViewState MAC failed. If this application is hosted...
0
7252
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7153
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7371
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
5676
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3230
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3218
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1583
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
452
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.