A problem with using state and custom server controls

T

ton

Hi,
I keep several variables in a statevalue like:
Dim session As SessionState.HttpSessionState =
System.Web.HttpContext.Current.Session

session("connect") = "connectstring"
and
session("user")=MyUserID

I thought that these variables would be the exclusive use of one connected
user/connection.
But I'm certain that with application in a multiuser enviroment these
variables are constantly overwritten.
In stead of exclusive use for one session, the users are sharing the same
values.

What am I missing here. (I have not modified any property of the session
variable)

I've tested it with cookeless and with cookies. The result is the same.
Who can help me.

Ton
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,102
Messages
2,570,645
Members
47,246
Latest member
TemekaLutz

Latest Threads

Top