Solved

Sessions problem when working on a load balancer, using AJAX

Posted on 2007-11-21
1
260 Views
Last Modified: 2013-11-07
Hello,
I am developing a C# ASP.NET application. I am using AJAX with a timer to refresh the data every couple of seconds.
I am performing searches on queries. When working on my localhost, everything looks good.
When working on a load balancer that addresses 2 servers, there is a problem.
Sometimes, when searching a couple of queries, i see results from my previous search.
When looking at the traces of the load balancer servers i can see that 1 server holds the current query in the session but the other server holds the previous query.
The result is that the user of my application gets the wrong data.

What could be the reason for that?

Thank you
0
Comment
Question by:Relegence
1 Comment
 
LVL 5

Accepted Solution

by:
gocemi earned 500 total points
ID: 20326956
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Thoughout my experience working on eCommerce web applications I have seen applications succumbing to increased user demand and throughput. With increased loads the response times started to spike, which leads to user frustration and lost sales. I ha…
A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now