Solved

Sessions problem when working on a load balancer, using AJAX

Posted on 2007-11-21
1
264 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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Foolproof security solutions has become one of the key necessities of every e-commerce or Internet banking website. If you too own an online shopping site then its vital for you to equip your web portal with customer security features that can allow…
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

828 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