|
|
|
start date: Tue, 7 Aug 2007 13:48:01 -0700,
posted on: microsoft.public.dotnet.framework.aspnet
back
| Thread Index |
|
1
Noremac am
|
|
2
Göran Andersson
|
|
3
(Walter Wang [MSFT])
|
|
4
(Walter Wang [MSFT])
|
ASP.NET 2.0 Session State Scope
I can't believe I've never noticed this. Is the Session object at the domain
level and not at the virtual folder level? I guess I have not done multi-app
development at the same time.
I am working on two ASP.NET 2.0 web apps that a user will bounce between. I
am running these in development on my Windows XP machine.
I am writing a value to each application's state. The variable name is the
same in both applications: Session["connectTime"].
I noticed that AppB was overwriting AppA's value. The URLs are
http://localhost/AppA and http://localhost/AppB.
As far as I can tell looking at machine.config and web.config session state
has not been modified so I believe I am using the defaults.
Thanks ahead for the confirmation!
Date:Tue, 7 Aug 2007 13:48:01 -0700
Author:
|
Re: ASP.NET 2.0 Session State Scope
Noremac wrote:
> I can't believe I've never noticed this. Is the Session object at the domain
> level and not at the virtual folder level?
Neither. It's at application level.
> I guess I have not done multi-app
> development at the same time.
>
> I am working on two ASP.NET 2.0 web apps that a user will bounce between. I
> am running these in development on my Windows XP machine.
>
> I am writing a value to each application's state. The variable name is the
> same in both applications: Session["connectTime"].
>
> I noticed that AppB was overwriting AppA's value. The URLs are
> http://localhost/AppA and http://localhost/AppB.
Then neither of the folders are applications. You have only one
application, and that is the web root folder.
> As far as I can tell looking at machine.config and web.config session state
> has not been modified so I believe I am using the defaults.
>
> Thanks ahead for the confirmation!
--
Göran Andersson
_____
http://www.guffa.com
Date:Wed, 08 Aug 2007 00:15:31 +0200
Author:
|
Re: ASP.NET 2.0 Session State Scope
Hi Noremac,
I also think that your AppA and AppB might not have been correctly
configured as an application in IIS, you can verify this by open its
properties dialog in IIS Manager: on the "Virtual Directory" tab, if you
see the "Application name" field is disabled and the button at the
right-side of it shows "Create" instead of "Remote", then it's not an web
application.
Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Date:Wed, 08 Aug 2007 04:40:29 GMT
Author:
|
Re: ASP.NET 2.0 Session State Scope
Hi Noremac,
I'm writing to check the status of this post. Please feel free to let me
know if there's anything else I can help. Thanks.
Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Date:Mon, 13 Aug 2007 01:29:02 GMT
Author:
|
|
|