I am storing some information in a Session variable. I have a Structure that contains a number of separate items including login data and shopping basket data. At the end of the Page_LoadComplete event I store the structure as follows:?
Current.Session("SessionPool") = Spl
And I retrieve it at the start of the Page_Load event as follows:
Spl = Current.Session("SessionPool")
Throughout my logic I refer to items within the structure such as spl.loginrow (a datarow) and spl.basket (a datatable).
I am testing the (remote) web site from two independent PCs. I change the quantity of items for one line in the shopping basket on one PC then, on the other PC, I refresh the basket and, hey presto, it reflects changes I have made on the first PC.
This suggests to me that the session variable is being shared across all sessions somehow - i.e. it is being managed at an application level. Does this make any sense? Any suggestions about what kind of dumb mistake I could have made here?
View Complete Post