473,406 Members | 2,208 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Session Variable

Is it true that when your ASP application jump's from one
Virtual Directory to another Virtual directory then you
cannot access session variables (which you created in
previous virtual directory pages).

Is there any way to work-around that? I don't want to
create the new session variables.

Jul 19 '05 #1
5 6122
Ray for me it's not working. Due you know any reason? or
you are here just for fun.

Gmmi.

-----Original Message-----
Have you tested this to see if it's true?

Ray at work

"Gmmi" <al****@hotmail.com> wrote in message
news:30****************************@phx.gbl...
Is it true that when your ASP application jump's from one Virtual Directory to another Virtual directory then you
cannot access session variables (which you created in
previous virtual directory pages).

Is there any way to work-around that? I don't want to
create the new session variables.

.

Jul 19 '05 #2
ra*@securitynat.com.

If this is a joke to mess with my mind, hopes, and dreams, I'll hack into
your site and put pornography on it. ;]

Ray at work

"UR ednec" <pm**********@yahoo.com> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
Ray! What is your email id? Got a job offer fer ya!

"Ray at <%=sLocation%>" <as*@me.forit> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Have you tested this to see if it's true?

Ray at work

"Gmmi" <al****@hotmail.com> wrote in message
news:30****************************@phx.gbl...
Is it true that when your ASP application jump's from one
Virtual Directory to another Virtual directory then you
cannot access session variables (which you created in
previous virtual directory pages).

Is there any way to work-around that? I don't want to
create the new session variables.



Jul 19 '05 #3
If you have an application set in IIS for the directory, the session
variables will not carry through. Like, example:

http://site/dir1/page1.asp contains:
session("test") = "test"

http://site/dir2/page1.asp contains:
response.write session("test")

That will work fine, by default. But if you go into your IIS manager and
create an application on dir2, you will lose the session variables in there.
Session variables are application based. If you don't need to have this
directory specified as a separate application, just remove it in IIS, and
your session variables will carry through.

Ray at work
"Gmmi" <al****@hotmail.com> wrote in message
news:06****************************@phx.gbl...
Ray for me it's not working. Due you know any reason? or
you are here just for fun.

Gmmi.

-----Original Message-----
Have you tested this to see if it's true?

Ray at work

"Gmmi" <al****@hotmail.com> wrote in message
news:30****************************@phx.gbl...
Is it true that when your ASP application jump's from one Virtual Directory to another Virtual directory then you
cannot access session variables (which you created in
previous virtual directory pages).

Is there any way to work-around that? I don't want to
create the new session variables.

.

Jul 19 '05 #4
Could you put some on my site too? I need the traffic.

Bob Lehmann

"Ray at <%=sLocation%>" <as*@me.forit> wrote in message
news:uf**************@tk2msftngp13.phx.gbl...
ra*@securitynat.com.

If this is a joke to mess with my mind, hopes, and dreams, I'll hack into
your site and put pornography on it. ;]

Ray at work

"UR ednec" <pm**********@yahoo.com> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
Ray! What is your email id? Got a job offer fer ya!

"Ray at <%=sLocation%>" <as*@me.forit> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Have you tested this to see if it's true?

Ray at work

"Gmmi" <al****@hotmail.com> wrote in message
news:30****************************@phx.gbl...
> Is it true that when your ASP application jump's from one
> Virtual Directory to another Virtual directory then you
> cannot access session variables (which you created in
> previous virtual directory pages).
>
> Is there any way to work-around that? I don't want to
> create the new session variables.
>



Jul 19 '05 #5
How's that saying go...... about the cobbler having no shoes :>)

Bob Lehmann

"Ray at <%=sLocation%>" <as*@me.forit> wrote in message
news:#G**************@TK2MSFTNGP11.phx.gbl...
Yeah, you need something on your site other than a mailto link. :]

Ray at work

"Bob Lehmann" <bo*@activeinet.com> wrote in message
news:OW****************@TK2MSFTNGP11.phx.gbl...
Could you put some on my site too? I need the traffic.

Bob Lehmann

"Ray at <%=sLocation%>" <as*@me.forit> wrote in message
news:uf**************@tk2msftngp13.phx.gbl...
ra*@securitynat.com.

If this is a joke to mess with my mind, hopes, and dreams, I'll hack into your site and put pornography on it. ;]

Ray at work

"UR ednec" <pm**********@yahoo.com> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
> Ray! What is your email id? Got a job offer fer ya!
>
> "Ray at <%=sLocation%>" <as*@me.forit> wrote in message
> news:%2****************@tk2msftngp13.phx.gbl...
> > Have you tested this to see if it's true?
> >
> > Ray at work
> >
> > "Gmmi" <al****@hotmail.com> wrote in message
> > news:30****************************@phx.gbl...
> > > Is it true that when your ASP application jump's from one
> > > Virtual Directory to another Virtual directory then you
> > > cannot access session variables (which you created in
> > > previous virtual directory pages).
> > >
> > > Is there any way to work-around that? I don't want to
> > > create the new session variables.
> > >
> >
> >
>
>



Jul 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: doltharz | last post by:
Please Help me i'm doing something i though was to be REALLY EASY but it drives me crazy The complete code is at the end of the email (i mean newsgroup article), i always use Option...
1
by: Ann Leland | last post by:
I have been using session variables to pass a user name from one ASP page to another inside framesets for 9 months and it stopped working this week. I have made no code changes but there was a...
2
by: Eric | last post by:
Hi, I've a problem with trying to retrieve a session variable in an include file. Basically, the main asp creates a session variable: <% Session("var1") = "Hello" %> And then when I click...
4
by: VB Programmer | last post by:
If I have a variable I want to share in my application what is the difference between just declaring a variable (Dim strMyVar as String) and using a session variable (Session("strMyVar"))? When...
9
by: William LaMartin | last post by:
I have a problem, mentioned here before, of Session and Application variables disappearing at one site but not at others or on my development computer. The problem is illustrated by an example...
9
by: Greg Linwood | last post by:
I'm having difficulty understanding Session state in ASP.Net. It's almost embarrassing asking this as I've been using ASP since it was first released & it really shouldn't be this hard to use -...
4
by: T Ralya | last post by:
I am told that ASP.NET controls the session ID and session variables, but that does not fit my symptoms. I am posting here as directed. I'm hoping that someone can at least recommend something to...
3
by: Alan Wang | last post by:
Hi there, Once my application gets complicated and complicated. I found it's really hard to keep track of Session value I am using in my asp.net application. I am just wondering if anyone have...
4
by: Don Miller | last post by:
I am using a Session variable to hold a class object between ASP.NET pages (in VB). In my constructor I check to see if the Session variable exists, and if it doesn't, I create one and populate it...
17
by: Control Freq | last post by:
Hi, Not sure if this is the right NG for this, but, is there a convention for the variable names of a Session variable? I am using .NET 2.0 in C#. I am new to all this .NET stuff, So, any...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.