Session Variables

D

Dave Ainslie

How do I send session variables between two web directories? I have two
sites on my web server I wish to send cookies between.

Thanks in advance

Dave
 
R

Ray at

Session variables or cookies? Session variables will carry across
directories, as long as they are not setup as separate applications in the
Web site settings in IIS. Cookies will be available anywhere from within
the same domain.

Ray at work
 
D

Dave Ainslie

I want to send session variables across two diferent virtual directories on
the same domain and server.

Can this be done?

Cheers
Dave
 
R

Ray at

Session variables will work across directories (virtual or not) just fine,
as long as they are in the same application. A virtual directory gets its
own application when you create it using the IIS gui, by default, so you'll
have to remove the applications. OPen your IIS manager, right click the
virtual directory, click properties, and click Remove in the "Application
Settings" area on the "Virtual Directory" tab for each virtual directory.

Ray at work
 

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,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top