473,405 Members | 2,404 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.

Accessing Session in different applications on the same site?!?

I am working on a site that utilises multiple applications (on IIS) written
in either VB.Net and or C#.Net.

All these applications run under the same domain, yet the session variables
are not available between applications. I would have thought that they would
be available as long as you remain in the same domain.

Any help would be greatly appreciated

Thanks
David Taylor
Nov 16 '05 #1
3 1614
Look into the Caching application block from Microsoft. It lets you
implement a shared cache for several scenarios, including yours:
http://msdn.microsoft.com/library/de...chingBlock.asp

---
Regards,

Roy Osherove
www.iserializable.com

On Thu, 6 Nov 2003 14:45:38 +0200, "W1ld0ne [MCSD]"
<W1*******@hotmail.com> wrote:
I am working on a site that utilises multiple applications (on IIS) written
in either VB.Net and or C#.Net.

All these applications run under the same domain, yet the session variables
are not available between applications. I would have thought that they would
be available as long as you remain in the same domain.

Any help would be greatly appreciated

Thanks
David Taylor


Nov 16 '05 #2
Sticking with ASP.NET, session variables are not available in different
ASP.NET applications. So, you cannot use session variables to communicate
between web sites. This is true for all collections within .NET.

The only way you can share the data (other than using an external method)
would be to combine the various ASP.NET applications together into one.

Jeff

"Roy Osherove" <ro**@iserializable.com> wrote in message
news:qp********************************@4ax.com...
Look into the Caching application block from Microsoft. It lets you
implement a shared cache for several scenarios, including yours:
http://msdn.microsoft.com/library/de...chingBlock.asp
---
Regards,

Roy Osherove
www.iserializable.com

On Thu, 6 Nov 2003 14:45:38 +0200, "W1ld0ne [MCSD]"
<W1*******@hotmail.com> wrote:
I am working on a site that utilises multiple applications (on IIS) writtenin either VB.Net and or C#.Net.

All these applications run under the same domain, yet the session variablesare not available between applications. I would have thought that they wouldbe available as long as you remain in the same domain.

Any help would be greatly appreciated

Thanks
David Taylor

Nov 16 '05 #3
Or perhaps have a central code page manage the data IO.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
MVP, hRD
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________

"Jeff" <js****@dls.net> wrote in message
news:eZ**************@TK2MSFTNGP09.phx.gbl...
Sticking with ASP.NET, session variables are not available in different
ASP.NET applications. So, you cannot use session variables to communicate
between web sites. This is true for all collections within .NET.

The only way you can share the data (other than using an external method)
would be to combine the various ASP.NET applications together into one.

Jeff

"Roy Osherove" <ro**@iserializable.com> wrote in message
news:qp********************************@4ax.com...
Look into the Caching application block from Microsoft. It lets you
implement a shared cache for several scenarios, including yours:

http://msdn.microsoft.com/library/de...chingBlock.asp

---
Regards,

Roy Osherove
www.iserializable.com

On Thu, 6 Nov 2003 14:45:38 +0200, "W1ld0ne [MCSD]"
<W1*******@hotmail.com> wrote:
I am working on a site that utilises multiple applications (on IIS) writtenin either VB.Net and or C#.Net.

All these applications run under the same domain, yet the session variablesare not available between applications. I would have thought that they wouldbe available as long as you remain in the same domain.

Any help would be greatly appreciated

Thanks
David Taylor


Nov 16 '05 #4

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

Similar topics

27
by: mrbog | last post by:
Tell me if my assertion is wrong here: The only way to prevent session hijacking is to NEVER store authentication information (such as name/password) in the session. Well, to never authenticate...
1
by: Dax Westerman | last post by:
I have a site that I'm trying to migrate to ASP.NET from ASP, and the foremost stumbling block I'm hitting is session state between the ASP and ASP.NET applications. In order to access this...
4
by: Rahul Chatterjee | last post by:
Hello All I have 2 websites both using different style sheets (.css). The stylesheets are stored in a session variable and get set at the time the site gets invoked. What is happening is...
3
by: masoud bayan | last post by:
Hi, We have 3 different web applications on three different websites (and domains). Now we want to make it possible for users to login in each of these applications and can navigate to other...
0
by: Nabani Silva | last post by:
Hi, hope someone could help I need to share session state (and contents) through differente web applications. I'm trying to get it done by using StateServer session state, below I paste code...
3
by: W1ld0ne [MCSD] | last post by:
I am working on a site that utilises multiple applications (on IIS) written in either VB.Net and or C#.Net. All these applications run under the same domain, yet the session variables are not...
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...
1
by: David Gaudine | last post by:
(This is a bit like the recent thread "PHP Switching Sessions".) I use session_start(). When I open my web-based application in two windows on the same system, there's a definite clash; I can't...
10
by: Nils Erik Dall | last post by:
Hi All I have a problem with my asp code on an iis 6.0 server on windows 2003 web. When I redirect between to asp pages on my web-site, where pageA is in a different virtual directory from pageB...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.