Session variable being reset by global.asa

J

joled

Hello,
It looks like a session variable that I created in the global.asa is
being reset by the global.asa when you return to a pge in the virtual
root directory.
Ex.
/vroot/index.asp - website home page
/vroot/global.asa - sub session_onstart
session("loggedin") = N
end sub
/vroot/login/validate.asp - sets session("loggedin") = Y
/vroot/music/index.asp - hitting this page shows loggedin=Y
/vroot/contact - hitting this page shows loggedin=Y
/vroot/index.asp - shows loggedin=Y
- there is no code in this page that sets
loggedin=N
*then hitting any other page loggedin=N

My only guess as to what is resetting loggedin=N is the code
in the global.asa file. Has anyone run into this before or know
if it may be a setting on the IIS server that causes this?
Thanks in advance!
Joe
 
J

jl

index.asp does not reset nor change the session variable which is
why I think it is timing out for some reason. My website is hosted
by ipowerweb and I do not have access to the IIS admin app, it
took me 2 1/2 days to find someone there that knew what a virtual
directory is and how to configure one. Do you know of anything on
the IIS side that may be affecting this?
Joe
 
J

jl

It looks like it was a setting on the server that has been changed to
resolve this issue. Thanks for the ideas!
Joe
 

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,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top