For Programmers: Free Programming Magazines  


Home > Archive > ASP > June 2005 > Session Variables









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Session Variables
James

2005-06-06, 8:55 pm

We have different types of logins for our accounts on our intranet. When a
person logs in, a Session variable is set to determine their level of
access. For sake of argument, say the two LoginTypes are Manager and
Employee.

When I log in (as a Manager), I get a certain set of options on the
homepage. Then I return to the login page, after logging in as myself, and
log in as an Employee. For some reason, the page seems "cached" and the
manager options will still display. If I refresh this page, it will appear
the way it should. I *think* this only happens when I copy/paste a URL that
I was at as a Manager. I believe that if I click a link, it displays
properly. Is there a way to prevent this? I do a ton of copying/pasting
URLs.

Thanks,
James


Dave Anderson

2005-06-06, 8:55 pm

James wrote:
> We have different types of logins for our accounts on our intranet.
> When a person logs in, a Session variable is set to determine their
> level of access. For sake of argument, say the two LoginTypes are
> Manager and Employee.
>
> When I log in (as a Manager), I get a certain set of options on the
> homepage. Then I return to the login page, after logging in as
> myself, and log in as an Employee. For some reason, the page seems
> "cached" and the manager options will still display. If I refresh
> this page, it will appear the way it should. I *think* this only
> happens when I copy/paste a URL that I was at as a Manager. I
> believe that if I click a link, it displays properly. Is there a way
> to prevent this? I do a ton of copying/pasting URLs.


http://aspfaq.com/show.asp?id=2022



--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.


James

2005-06-07, 3:56 pm

Thank you.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com