about session. Urgent

G

Guest

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.
 
H

Hans Kesting

Daniel said:
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.

"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)
 

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
473,774
Messages
2,569,598
Members
45,152
Latest member
LorettaGur
Top