Clearing cache in a web browser because the Request.ServerVariables("LOGON_USER") has a value when reloading the page

I have a login page and I want the user to have to login again if the page is reloaded, etc.  

I added these lines to the top of an asp page:

Response.Buffer = TRUE
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = "no-cache"

and then I check the Request.ServerVariables("LOGON_USER") to see if the len = 0 and the first time through it is.  After the user logins I am keeping them on this page and when I reload the page, I want the user to be prompted to login again.  Is there anyway to do this?  

Thanks,

Tait
TaitorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

fritz_the_blankCommented:
You might try calling a Session.Abandon() as that should kill everything else.


FtB
darkeryuCommented:
Hi:

i think you use basic auth ,
here is an article about this:

http://support.microsoft.com/default.aspx?scid=kb;en-us;195192

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
deighcCommented:
Assuming that you ARE using Basic authentication, then I think you have to generate an HTTP header for this:

Response.Addheader "WWW-Authenticate", "BASIC"
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP

From novice to tech pro — start learning today.