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 13 2424
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.su perfeed.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
in this case store the session in SQL
"Eric Layman" <namyalcire[at no spam]gmail.comwrote in message
news:11******** *****@sp6iad.su perfeed.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
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.x xxa.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.su perfeed.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
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.su perfeed.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.x xxa.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.s uperfeed.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
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.x xxa.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.su perfeed.net...
>Hi everyone,
Will clustering of webservers affect SESSION states?
Is there a dotnet term for the above mentioned scenario?
Pls advise.
Thanks.
"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:uR******** ******@TK2MSFTN GP05.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...
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.comwrot e in message
news:%2******** ********@TK2MSF TNGP04.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.su perfeed.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.x xxa.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
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**@markNOSPA Mrae.comwrote in message news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:uR******** ******@TK2MSFTN GP05.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...
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.su perfeed.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.comwrot e in message
news:%2******** ********@TK2MSF TNGP04.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.s uperfeed.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.x xxa.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 serialisab le 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 a for example and it
goes offline or fails their session is lost also - even though the
application becomes available on server b.
I have heard that it is possible to either exchange the sessions between
|
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 as mud.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconsessionstate.asp
which suggests that you can protect against a web server failing by using a
separate SQL Server machine store session state! ...
|
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 variables and all of them
are being stored into session and accessed from session
and individual session object. Example: Session
= "XYZ", Session=100, Session="NAME", etc.
|
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 web-servers, so we
can utilize a random algorithm for server selection for requests. The
application does not use either session state or application state.
We recently upgraded to .NET Framework 1.1 (including the hotfix for the
"doPostback...
|
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 database and
our application database.
When the SQL Server cluster is failed-over, any "pointers" to the live
connections stored in the connection pool are made invalid. When the
application tries to reference these "damaged" connections, it throws...
| |
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 setup a test environment so I was hoping I could get the answer from here.
I came across
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q313091 to create a
static machine key that I will place in our servers now so that if we ever...
|
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 are using the application, we got this
error:
"System.Web.HttpException: Unable to connect to SQL Server session
database. ---System.InvalidOperationException: Timeout expired. The
timeout period elapsed prior to obtaining a connection from the...
|
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 determine from the cluster which node is active (this is a
active/standby configuration) and either proceed or sleep depending on
the status. The interface to the cluster is that advertised by the
standard interop layer built by Visual Studio for the...
|
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 by a Web Farm or cluster, ensure that
<machineKeyconfiguration specifies the same validationKey and validation
algorithm. AutoGenerate cannot be used in a clusterâ€.
Here is the scenario when I got the error.
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |