Solved

Sessions problem when working on a load balancer, using AJAX

Posted on 2007-11-21
1
267 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 5

Accepted Solution

by:
gocemi earned 500 total points
ID: 20326956
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to save a java script "this" object in an asp.net hidden variable. 4 24
history of pages 7 54
Datagridview column resizing 8 28
Adding Rows to Grid 4 34
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
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…
This video teaches users how to migrate an existing Wordpress website to a new domain.

759 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