Groups | Blog | Home
all groups > asp.net > april 2005 >

asp.net : about session. Urgent


Daniel
4/5/2005 11:25:04 PM
Hi,
i'm using the session in my project and each user will be given the access
based on his role.
On my computer i try to run the program, the session works fine.
The problem occurs when i try to access the same program at the same time
from another computer that connected to my pc.
The session cannot identify both of the user's role, it makes all functions
accessible to both of them.
why ??
Is it my computer OS is windows xp and is not the server's operating system
???
Any explainnation ??

Thanks in advance..

daniel.
Hans Kesting
4/6/2005 9:40:58 AM
[quoted text, click to view]

"program"? I take it that you mean an asp.net (web-)application?

How do you arrive at the "role" of the user? How do you remember
that role / those roles? Are you maybe using singletons or static
variables to store the user-identity, or Application or Cache?
(if so, you shouldn't, as those are shared by all users of that
one web-application. Use Session instead)

--
AddThis Social Bookmark Button