Hi All,
I have the following code in my
java servlet application :
If I use the setAttribute and getAttribute methods to store data in the session, is that data shared with all clients who access the application running under
tomcat ? I had thought if I stored something in the session that it was only used by that particular client, but I am starting to see behaviour which indicates that other clients accessing the web app are using that data.
I think I am misunderstanding something global here.
What is happening is I have a table of data and I click on a column heading to re-sort the data based on that column. I save the sort column to the session so when the table auto-refreshes it knows how to sort. Well, another client running on a seperate PC autorefreshes and now has that same sort order as the first client.
Any info appreciated, thanks!