freelanceprogrammers.org Forum Index » ASP
Session maintainance in a webfarm
Joined: 05 Jan 2005
Posts: 4
Session maintainance in a webfarm
Hi,
i have my web application deployed in 2 web servers. The 2 web
severs are load balanced, so when we login into the web application
we don`t know which web server is hit.
My problem iam storing dataset in a session variable in button1 click
event and iam retreving the dataset from session in buttton2 click
event.
When retreving the dataset from session in button2 click event,
sometimes it returns me null or nothing.
Is there any service pack to get around this problem.??
Can any one suggest how to maintain session across webfarm. Basically
my need is i have to use session some how to store dataset.
Any furthur comments and suggestions are welcome.
Thanks in advance
Joined: 07 Jan 2006
Posts: 63
Session maintainance in a webfarm
You have several options.
Wilson Web Forms will let you use ViewState FROM PAGE TO PAGE rather
than session to pass that dataset.
http://www.learnasp.com/rb?3915
has links to WilsonWebForms and other awesome ASP.net freebies.
You can config ASP.net to use the Session State Service or SQLserver.
Either works across web farms.
http://learnasp.com/quickstart/aspplus/doc/stateoverview.aspx#sessionstate
On Tue, 04 Jan 2005 23:59:14 -0000, pradeep_yanamandra
<pradeep_yanamandra@...> wrote:
>
> Hi,
> i have my web application deployed in 2 web servers. The 2 web
> severs are load balanced, so when we login into the web application
> we don`t know which web server is hit.
>
> My problem iam storing dataset in a session variable in button1 click
> event and iam retreving the dataset from session in buttton2 click
> event.
>
> When retreving the dataset from session in button2 click event,
> sometimes it returns me null or nothing.
>
> Is there any service pack to get around this problem.??
> Can any one suggest how to maintain session across webfarm. Basically
> my need is i have to use session some how to store dataset.
>
> Any furthur comments and suggestions are welcome.
>
> Thanks in advance
Joined: 05 Jan 2005
Posts: 4
Session maintainance in a webfarm
Hi charles,
Thanks for your reply.Iam using session mode as state server.
Everything works fine when i test in local host. When i deploy to production
server the problem of session maintainance comes up. I tried using cache object
also but still no use.
Do you have any furthur suggestions??
Charles Carroll <911@...> wrote:
You have several options.
Wilson Web Forms will let you use ViewState FROM PAGE TO PAGE rather
than session to pass that dataset.
http://www.learnasp.com/rb?3915
has links to WilsonWebForms and other awesome ASP.net freebies.
You can config ASP.net to use the Session State Service or SQLserver.
Either works across web farms.
http://learnasp.com/quickstart/aspplus/doc/stateoverview.aspx#sessionstate
On Tue, 04 Jan 2005 23:59:14 -0000, pradeep_yanamandra
<pradeep_yanamandra@...> wrote:
>
> Hi,
> i have my web application deployed in 2 web servers. The 2 web
> severs are load balanced, so when we login into the web application
> we don`t know which web server is hit.
>
> My problem iam storing dataset in a session variable in button1 click
> event and iam retreving the dataset from session in buttton2 click
> event.
>
> When retreving the dataset from session in button2 click event,
> sometimes it returns me null or nothing.
>
> Is there any service pack to get around this problem.??
> Can any one suggest how to maintain session across webfarm. Basically
> my need is i have to use session some how to store dataset.
>
> Any furthur comments and suggestions are welcome.
>
> Thanks in advance
---------------------------------
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
To unsubscribe from this group, send an email to:
AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
[Non-text portions of this message have been removed]
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







