Click here to Skip to main content
15,889,578 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi all,

I am using session variable in my application.After deploying the application on server if 2 client machine use the same pages of the application,for example Listing page which is having grid and some drop down for filter criteria. so if I select XYZ from drop down on one client machine then I got data for XYZ in grid. Simultaneously on second client machine I access the same page and and select the data for ABC. If I go from listing page to details page and came back from details page to listing page then either I got data for XYZ filter or ABC filter on both the client machine. How to solve this as session in client specific.

Can anybody help???

Thanks In advance

Yogesh
Posted
Comments
Afzaal Ahmad Zeeshan 3-Apr-15 2:29am    
Sessions are specific for your session. They are not visible to other clients, they're stored only on your own machine; in your session.
Arkadeep De 3-Apr-15 2:57am    
I don't think so, it is a session specific problem. check your code once again. As Afzaal said session stored in client machine it will definitely store diff value if you didn't put a fixed value to session.
Solai Raja 3-Apr-15 5:38am    
have you referred your server configuration are correct?

1 solution

It sounds like you are using static variables rather than Session variables. Static variables are shared among all users. If you're using VB.net then static variables are called shared variables.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900