Losing Session state after redirect to a different folder

  • Thread starter Thread starter scott_shuster
  • Start date Start date
S

scott_shuster

Hi,

I need to preserve state as I'm Response.Redirecting to a page in a
subfolder elsewhere in my web.

However, everytime I redirect, my session vars are cleared out. Are
Session variables not persistent to redirects on pages in different
folders?

Scott
 
Different virtual directories = different applications

Each application has its own session state

They are not cleared out. Each application just has its own set.
 
Thanks for your reply...

I'm running the whole web under one virtual directory. The 'subfolder'
I'm referring to is a folder underneath the same virtual directory.

Furthermore, I did a Response.Write on the Session.SessionID, and it
that DID persist to the page in the subfolder.
 

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

Back
Top