Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Session variables accross a virtual directory.


Message #1 by "dee" <drexton@h...> on Wed, 16 Jan 2002 16:08:52
I am building an application in ASP/IIS, within the application there is a 

virtual directory that is using the HTTP 404 error to browse a directory 

elsewhere on the server. 



I have the same session Id within the application root and the virtual 

directory. Although  session state works within both the root and the 

virtual directory session state seems to be totally isolated. I can not 

create a session in one and call it within the other.

Is there a problem with virtual directories Why this is happening?
Message #2 by "phil griffiths" <pgtips@m...> on Wed, 16 Jan 2002 16:47:23
I thought that session data could only be shared by virtual directories or 

applications if they are a subdirectory of a common parent.



What is the structure that you are trying to share between?



Phil

> I am building an application in ASP/IIS, within the application there is 

a 

> virtual directory that is using the HTTP 404 error to browse a directory 

> elsewhere on the server. 

> 

> I have the same session Id within the application root and the virtual 

> directory. Although  session state works within both the root and the 

> virtual directory session state seems to be totally isolated. I can not 

> create a session in one and call it within the other.

> Is there a problem with virtual directories Why this is happening?
Message #3 by "darran roper" <drexton@h...> on Thu, 17 Jan 2002 10:40:39 +0000
Thanks for your reply Phil infact you have already answered my question.

My application has two locations within a server without a common parent. So 

thats it.

Makes total sense but you know how these things are hard to accept.

Thanks again Phil.







>From: "phil griffiths" <pgtips@m...>

>Reply-To: "ASP Web HowTo" <asp_web_howto@p...>

>To: "ASP Web HowTo" <asp_web_howto@p...>

>Subject: [asp_web_howto] Re: Session variables accross a virtual directory.

>Date: Wed, 16 Jan 2002 16:47:23

>

>I thought that session data could only be shared by virtual directories or

>applications if they are a subdirectory of a common parent.

>

>What is the structure that you are trying to share between?

>

>Phil

> > I am building an application in ASP/IIS, within the application there is

>a

> > virtual directory that is using the HTTP 404 error to browse a directory

> > elsewhere on the server.

> >

> > I have the same session Id within the application root and the virtual

> > directory. Although  session state works within both the root and the

> > virtual directory session state seems to be totally isolated. I can not

> > create a session in one and call it within the other.

> > Is there a problem with virtual directories Why this is happening?




>$subst('Email.Unsub').





_________________________________________________________________

Chat with friends online, try MSN Messenger: http://messenger.msn.com



Message #4 by <odempsey@b...> on Thu, 17 Jan 2002 13:56:54 -0000
Hi Darren

the only way to pass variables from one domain to another is to append them

to the URL





Kind Regards

Oliver Dempsey





----- Original Message -----

From: darran roper <drexton@h...>

To: ASP Web HowTo <asp_web_howto@p...>

Sent: Thursday, January 17, 2002 10:40 AM

Subject: [asp_web_howto] Re: Session variables accross a virtual directory.





> Thanks for your reply Phil infact you have already answered my question.

> My application has two locations within a server without a common parent.

So

> thats it.

> Makes total sense but you know how these things are hard to accept.

> Thanks again Phil.

>

>

>

> >From: "phil griffiths" <pgtips@m...>

> >Reply-To: "ASP Web HowTo" <asp_web_howto@p...>

> >To: "ASP Web HowTo" <asp_web_howto@p...>

> >Subject: [asp_web_howto] Re: Session variables accross a virtual

directory.

> >Date: Wed, 16 Jan 2002 16:47:23

> >

> >I thought that session data could only be shared by virtual directories

or

> >applications if they are a subdirectory of a common parent.

> >

> >What is the structure that you are trying to share between?

> >

> >Phil

> > > I am building an application in ASP/IIS, within the application there

is

> >a

> > > virtual directory that is using the HTTP 404 error to browse a

directory

> > > elsewhere on the server.

> > >

> > > I have the same session Id within the application root and the virtual

> > > directory. Although  session state works within both the root and the

> > > virtual directory session state seems to be totally isolated. I can

not

> > > create a session in one and call it within the other.

> > > Is there a problem with virtual directories Why this is happening?




> >$subst('Email.Unsub').

>

>

> _________________________________________________________________

> Chat with friends online, try MSN Messenger: http://messenger.msn.com

>

>




$subst('Email.Unsub').

>

>




  Return to Index