473,405 Members | 2,338 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,405 software developers and data experts.

Can I share Session variables across Applications?

In one Application (2) the client is redirected to a Logon ASP in a different Application (1). A Session Variable is made in Application 2 which needs to be recognized in Application 1. Can I do that in Windows 2000 SP3 IIS5 no .NET Framework? Thanks.

--
George Hester
__________________________________
Jul 19 '05 #1
7 3451
No.

http://www.aspfaq.com/2157

--
http://www.aspfaq.com/
(Reverse address to reply.)


"George Hester" <he********@hotmail.com> wrote in message
news:ep**************@TK2MSFTNGP12.phx.gbl...
In one Application (2) the client is redirected to a Logon ASP in a
different Application (1). A Session Variable is made in Application 2
which needs to be recognized in Application 1. Can I do that in Windows
2000 SP3 IIS5 no .NET Framework? Thanks.

--
George Hester
__________________________________
Jul 19 '05 #2
George Hester wrote:
In one Application (2) the client is redirected to a Logon ASP in a
different Application (1). A Session Variable is made in Application
2 which needs to be recognized in Application 1. Can I do that in
Windows 2000 SP3 IIS5 no .NET Framework? Thanks.


Yes, if you use your own session architecture and store the contents of the
variables in a DB.

I have session variables that span applications and servers inside our
domain -- including IIS4/5/6, Apache, and Tomcat servers.

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
Jul 19 '05 #3
What do you want to share ?

By nature, session variables are intendent to store session specific
information for a particular application. If you tell us what you try to do,
someone could come up with a better architecture suggestion.

Patrice

--

"George Hester" <he********@hotmail.com> a écrit dans le message de
news:ep****************@TK2MSFTNGP12.phx.gbl...
In one Application (2) the client is redirected to a Logon ASP in a
different Application (1). A Session Variable is made in Application 2
which needs to be recognized in Application 1. Can I do that in Windows
2000 SP3 IIS5 no .NET Framework? Thanks.

--
George Hester
__________________________________
Jul 19 '05 #4
Thanks for cart.zip. I saw after this post this was the way to go. Trouble is I am finding that different Applications are not not necessary for this issue to happen. Consider this:

The root is a FrontPage 2000 Sever Extended web. Application 2 is also a FrontPage 2000 Server Extended Virtual Directory of Application 1. In Application 2 there is a ASP with this in it:

<img src="/images/spacer.gif">
<img src="/images/adobelogo.gif">

The first fails while the second one succeeds.

I haven't been able to track down that anomoly yet. Application 2 has an images folder so I just stuck the spacer.gif in there and left the HTML alone. That fixed it.

I know this isn't a Session issue but the ability to "share" across Applications seems to be hazardous.

--
George Hester
__________________________________
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message news:eq**************@TK2MSFTNGP12.phx.gbl...
No.

http://www.aspfaq.com/2157

--
http://www.aspfaq.com/
(Reverse address to reply.)




"George Hester" <he********@hotmail.com> wrote in message
news:ep**************@TK2MSFTNGP12.phx.gbl...
In one Application (2) the client is redirected to a Logon ASP in a
different Application (1). A Session Variable is made in Application 2
which needs to be recognized in Application 1. Can I do that in Windows
2000 SP3 IIS5 no .NET Framework? Thanks.

--
George Hester
__________________________________

Jul 19 '05 #5
Yes I was hoping that. This is just a way for determing if Cookies are enabled. The accessed page (In Application 2) sends the client to a logon page (in Application 1) if they don't have a Session not necessarily made in Application 2. The logon page (ASP) is in Application 1 the root. Since I test in Application 2 the ability to make a Session (cookie) and see if it exists in the logon page, the trouble appears.

--
George Hester
__________________________________
"Patrice" <no****@nowhere.com> wrote in message news:OI**************@TK2MSFTNGP12.phx.gbl...
What do you want to share ?

By nature, session variables are intendent to store session specific
information for a particular application. If you tell us what you try to do,
someone could come up with a better architecture suggestion.

Patrice

--

"George Hester" <he********@hotmail.com> a écrit dans le message de
news:ep****************@TK2MSFTNGP12.phx.gbl...
In one Application (2) the client is redirected to a Logon ASP in a
different Application (1). A Session Variable is made in Application 2
which needs to be recognized in Application 1. Can I do that in Windows
2000 SP3 IIS5 no .NET Framework? Thanks.

--
George Hester
__________________________________

Jul 19 '05 #6
Yes, note that http://www.aspfaq.com/2157 also states that this can happen
across defined virtual directories...

--
http://www.aspfaq.com/
(Reverse address to reply.)


"George Hester" <he********@hotmail.com> wrote in message
news:es**************@tk2msftngp13.phx.gbl...
Thanks for cart.zip. I saw after this post this was the way to go. Trouble
is I am finding that different Applications are not not necessary for this
issue to happen. Consider this:

The root is a FrontPage 2000 Sever Extended web. Application 2 is also a
FrontPage 2000 Server Extended Virtual Directory of Application 1. In
Application 2 there is a ASP with this in it:

<img src="/images/spacer.gif">
<img src="/images/adobelogo.gif">

The first fails while the second one succeeds.

I haven't been able to track down that anomoly yet. Application 2 has an
images folder so I just stuck the spacer.gif in there and left the HTML
alone. That fixed it.

I know this isn't a Session issue but the ability to "share" across
Applications seems to be hazardous.

--
George Hester
__________________________________
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:eq**************@TK2MSFTNGP12.phx.gbl...
No.

http://www.aspfaq.com/2157

--
http://www.aspfaq.com/
(Reverse address to reply.)


"George Hester" <he********@hotmail.com> wrote in message
news:ep**************@TK2MSFTNGP12.phx.gbl...
In one Application (2) the client is redirected to a Logon ASP in a
different Application (1). A Session Variable is made in Application 2
which needs to be recognized in Application 1. Can I do that in Windows
2000 SP3 IIS5 no .NET Framework? Thanks.

--
George Hester
__________________________________

Jul 19 '05 #7
Why do you use two applications ? I would just test this by using two pages
into the same application ???

Patrice

--

"George Hester" <he********@hotmail.com> a écrit dans le message de
news:uk**************@tk2msftngp13.phx.gbl...
Yes I was hoping that. This is just a way for determing if Cookies are
enabled. The accessed page (In Application 2) sends the client to a logon
page (in Application 1) if they don't have a Session not necessarily made in
Application 2. The logon page (ASP) is in Application 1 the root. Since I
test in Application 2 the ability to make a Session (cookie) and see if it
exists in the logon page, the trouble appears.

--
George Hester
__________________________________
"Patrice" <no****@nowhere.com> wrote in message
news:OI**************@TK2MSFTNGP12.phx.gbl...
What do you want to share ?

By nature, session variables are intendent to store session specific
information for a particular application. If you tell us what you try to do, someone could come up with a better architecture suggestion.

Patrice

--

"George Hester" <he********@hotmail.com> a écrit dans le message de
news:ep****************@TK2MSFTNGP12.phx.gbl...
In one Application (2) the client is redirected to a Logon ASP in a
different Application (1). A Session Variable is made in Application 2
which needs to be recognized in Application 1. Can I do that in Windows
2000 SP3 IIS5 no .NET Framework? Thanks.

--
George Hester
__________________________________

Jul 19 '05 #8

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

Similar topics

2
by: Brad | last post by:
Hi everyone, I've been using ASP on a few different projects over the past year, either using Javascript or VBScript. During that time, I've made use of session variables, but even then, I've...
2
by: TaeHo Yoo | last post by:
Hi all, I have a solution which contains multiple projects. Those multiple projects should share the same session. For example, users login, create the session for users then these session...
6
by: Nedu N | last post by:
Hi, I am trying to design a Home page for my applicatiion in which i want show the links for for some itms... I tried to put the following <td> <font face="Arial, Helvetica, sans-serif" ...
1
by: Bill Reynen | last post by:
Hello, Working in ASP.NET. I want to create several projects on the web server /Online /Online/App1 /Online/App2 /Online/App3
1
by: eSapient | last post by:
My objective was to implement a 'Wait' page by using a combination of an asynchronous call and a Session variable to signal the end of the wait. My first page has:...
1
by: guoqi zheng | last post by:
I have an application in IIS with a few sub domains assign to it. Is there a way for me to share session data across those subdomains? regards, Guoqi Zheng http://www.ureader.com
2
by: Ahmed | last post by:
Dear All, I have three web applications that I want to provide one single web interface to all of them. If I am able to share the session between them, It will be great. so is this possibel?
5
by: Joe | last post by:
I have an application which runs in a non-secure environment. I also have an application that runs in a secure environment (both on the same machine). Is there any way to share the session data for...
18
by: BillE | last post by:
When a user opens a new IE browser window using File-New-Window the integrity of an application which relies on session state is COMPLETELY undermined. Anyone who overlooks the fact that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
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.