473,396 Members | 1,990 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Web Farm Implementation

Hi all,
I am implementing a .NET web application and extensively used the session
variables to store data. But today my manager told me that we will be
running that application in a web farm !!!! I guess I am screwed.

Could you please help me out here guys? I have following question: if you
know answer of any of these, pls let me know.

(1) What should I do now?
(2) I know that ASP.NET session state management supports two out of process
session state management options but will that work in web farm environment?
(3) If so, how ASP.NET associates users with their respective session?
(4) Any recommendations for implementing such applications?
(5) Does any Microsoft sample enterprise applications (FMCorp, etc etc)
supports web farm implementation?

Any thoughts, help, links to resources, etc would be appreciated.

Thanks,
Desi
Nov 17 '05 #1
5 2019
1) switch to sqlserver for storing the session state. this will require that
all objects stored in session be serializable, and may require recoding.

2) be sure the machine keys match for viewstate processing.


"Hidden Desi" <hi********@yahoo.com> wrote in message
news:u0**************@TK2MSFTNGP09.phx.gbl...
Hi all,
I am implementing a .NET web application and extensively used the session
variables to store data. But today my manager told me that we will be
running that application in a web farm !!!! I guess I am screwed.

Could you please help me out here guys? I have following question: if you
know answer of any of these, pls let me know.

(1) What should I do now?
(2) I know that ASP.NET session state management supports two out of process session state management options but will that work in web farm environment? (3) If so, how ASP.NET associates users with their respective session?
(4) Any recommendations for implementing such applications?
(5) Does any Microsoft sample enterprise applications (FMCorp, etc etc)
supports web farm implementation?

Any thoughts, help, links to resources, etc would be appreciated.

Thanks,
Desi

Nov 17 '05 #2
State server and SQL server session state work in a web farm. SQL server is
more secure but slower. You know already to enablesessionstate=false or
readonly where appropriate hopefully.

Justin D
"bruce barker" <no***********@safeco.com> wrote in message
news:#V**************@tk2msftngp13.phx.gbl...
1) switch to sqlserver for storing the session state. this will require that all objects stored in session be serializable, and may require recoding.

2) be sure the machine keys match for viewstate processing.


"Hidden Desi" <hi********@yahoo.com> wrote in message
news:u0**************@TK2MSFTNGP09.phx.gbl...
Hi all,
I am implementing a .NET web application and extensively used the session variables to store data. But today my manager told me that we will be
running that application in a web farm !!!! I guess I am screwed.

Could you please help me out here guys? I have following question: if you know answer of any of these, pls let me know.

(1) What should I do now?
(2) I know that ASP.NET session state management supports two out of

process
session state management options but will that work in web farm

environment?
(3) If so, how ASP.NET associates users with their respective session?
(4) Any recommendations for implementing such applications?
(5) Does any Microsoft sample enterprise applications (FMCorp, etc etc)
supports web farm implementation?

Any thoughts, help, links to resources, etc would be appreciated.

Thanks,
Desi


Nov 17 '05 #3
As stated by others you can use the "out of proc sessions" of ASP.NET.

But take some time to examine the data you store in Sessions. Sometimes the
Cache is a better place for it. And if you setup the items in Cache to
expire at the same time (one an hour or one a day) on each server and
syncronize their time, you can use it on webfarms.

More to read on cache at :
http://msdn.microsoft.com/library/de...asp?frame=true

If you explain what kind of data you store in your sessions you might get
futher help on the issue....

"Hidden Desi" <hi********@yahoo.com> wrote in message
news:u0**************@TK2MSFTNGP09.phx.gbl...
Hi all,
I am implementing a .NET web application and extensively used the session
variables to store data. But today my manager told me that we will be
running that application in a web farm !!!! I guess I am screwed.

Could you please help me out here guys? I have following question: if you
know answer of any of these, pls let me know.

(1) What should I do now?
(2) I know that ASP.NET session state management supports two out of process session state management options but will that work in web farm environment? (3) If so, how ASP.NET associates users with their respective session?
(4) Any recommendations for implementing such applications?
(5) Does any Microsoft sample enterprise applications (FMCorp, etc etc)
supports web farm implementation?

Any thoughts, help, links to resources, etc would be appreciated.

Thanks,
Desi

Nov 17 '05 #4
Thx for your responses guys.

I am storing just basic data types (int, string, etc). What other options
are available now?
"Rolf Enidsson" <ro***********@r.e.m.o.v.e.msecf.com> wrote in message
news:es**************@TK2MSFTNGP11.phx.gbl...
As stated by others you can use the "out of proc sessions" of ASP.NET.

But take some time to examine the data you store in Sessions. Sometimes the Cache is a better place for it. And if you setup the items in Cache to
expire at the same time (one an hour or one a day) on each server and
syncronize their time, you can use it on webfarms.

More to read on cache at :
http://msdn.microsoft.com/library/de...asp?frame=true
If you explain what kind of data you store in your sessions you might get
futher help on the issue....

"Hidden Desi" <hi********@yahoo.com> wrote in message
news:u0**************@TK2MSFTNGP09.phx.gbl...
Hi all,
I am implementing a .NET web application and extensively used the session variables to store data. But today my manager told me that we will be
running that application in a web farm !!!! I guess I am screwed.

Could you please help me out here guys? I have following question: if you know answer of any of these, pls let me know.

(1) What should I do now?
(2) I know that ASP.NET session state management supports two out of

process
session state management options but will that work in web farm

environment?
(3) If so, how ASP.NET associates users with their respective session?
(4) Any recommendations for implementing such applications?
(5) Does any Microsoft sample enterprise applications (FMCorp, etc etc)
supports web farm implementation?

Any thoughts, help, links to resources, etc would be appreciated.

Thanks,
Desi


Nov 17 '05 #5

"Hidden Desi" <hi********@yahoo.com> wrote in message
news:e8*************@tk2msftngp13.phx.gbl...
Thx for your responses guys.

I am storing just basic data types (int, string, etc). What other options
are available now?
No, not the actual datatype... What kind of data, how do you use and update
the data. Like a value that seldom changes. Or a value that change often,
but from exterior sources in a predictable way. Or a value that the owner of
the session can change at will.

For example, a list of countries almost newer changes. That is a good
candidate to put in the Cache instead....


"Rolf Enidsson" <ro***********@r.e.m.o.v.e.msecf.com> wrote in message
news:es**************@TK2MSFTNGP11.phx.gbl...
As stated by others you can use the "out of proc sessions" of ASP.NET.

But take some time to examine the data you store in Sessions. Sometimes

the
Cache is a better place for it. And if you setup the items in Cache to
expire at the same time (one an hour or one a day) on each server and
syncronize their time, you can use it on webfarms.

More to read on cache at :

http://msdn.microsoft.com/library/de...asp?frame=true

If you explain what kind of data you store in your sessions you might get
futher help on the issue....

"Hidden Desi" <hi********@yahoo.com> wrote in message
news:u0**************@TK2MSFTNGP09.phx.gbl...
Hi all,
I am implementing a .NET web application and extensively used the

session variables to store data. But today my manager told me that we will be
running that application in a web farm !!!! I guess I am screwed.

Could you please help me out here guys? I have following question: if you know answer of any of these, pls let me know.

(1) What should I do now?
(2) I know that ASP.NET session state management supports two out of

process
session state management options but will that work in web farm

environment?
(3) If so, how ASP.NET associates users with their respective session?
(4) Any recommendations for implementing such applications?
(5) Does any Microsoft sample enterprise applications (FMCorp, etc etc) supports web farm implementation?

Any thoughts, help, links to resources, etc would be appreciated.

Thanks,
Desi



Nov 17 '05 #6

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

Similar topics

1
by: Paul Emory Sullivan | last post by:
I anticipate a problem that may occur when we deploy our reports on web farms. We have reports that generate both tabular and graphic output in a single Recordset pass. Each report page request...
3
by: Steve | last post by:
Hi What is difference between web farm and web garden? What i understand so far Web Farm Multi Server Environment Support Session share Application object not supported Caching not...
0
by: LearninGuru | last post by:
Hi Folks, I am creating a web service that will be hosted on a web farm. The web service also uses sessions to store user specific data. I have the following doubts about session timeout in a...
5
by: Dominic | last post by:
My question is about how to maintain view state in mobile ASP.NET across postback / request in a web farm environment. First of all, let's assume the web-farm does NOT use stick-session feature....
0
by: robin9876 | last post by:
When using the following code on a development server the page redirects, however in a web farm environment the page does not redirect. Response.Redirect("a.aspx", False) Both the...
25
by: acemtp | last post by:
Hello, I would like to show you a new collaborative website for javascript programmer. It's quite hard to know if some specific code you wrote will work on all browsers, and if not, why it...
1
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...
3
by: latif87 | last post by:
An example of how the XML file is structured: <xml> <farm name="NAME1"> <size x="INTEGER1" y="INTEGER2" /> <neighbor name="NAME2" /> <crop name="PLANT" area="INTEGER3" /> <crop … /> … </farm>...
6
by: karthi84 | last post by:
Hi, I was asked to create a web application which is going to be running on a web farm. Now my questions are 1. I was asked to use windows authentication for connecting to SQL database, will...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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
tracyyun
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...

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.