473,387 Members | 1,561 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,387 software developers and data experts.

Session will be interfered by another application's thread

JimWu
14
Hi, I have a problem about session and application.

The situation describes as follows.

I have two web site A and B. They have different AppDomain.

First of all, I use session to record some info. in A.

While I invoke the application method "Applicaion.RemoveAll()" inside a thread, the session of web site A will be expired.
So web site A could not access to any value of session.

But if web site B do not use thread to invoke this thread, the session of web site B would not be affected.

I dont know why it cause session expire. So far as I know, since A and B is different AppDomain, why session would be interfered by another application using the thread.

Thanks any kindly answer.

Jim.
Mar 14 '08 #1
3 2176
jhardman
3,406 Expert 2GB
Sounds like a question for an IIS expert...

Jared
Mar 17 '08 #2
kenobewan
4,871 Expert 4TB
So far as I know, since A and B is different AppDomain, why session would be interfered by another application using the thread.
There is a lot of imprecision here. If there is a child/parent relationship, eg virtual domain, it may have this effect. They may share the same application pool. Seems to me you have discovered a relationship and now you need to discover what it is. HTH.
Mar 18 '08 #3
JimWu
14
There is a lot of imprecision here. If there is a child/parent relationship, eg virtual domain, it may have this effect. They may share the same application pool. Seems to me you have discovered a relationship and now you need to discover what it is. HTH.
I think they are have application pools.

If my illustratation is wrong, please correct my opinion.

A and B is different web application and they use different AppDomain.

Then, there is different virtual domain for them, eg., A is "http://10.2.2.55/A/index.aspx" and B is "http://10.2.2.55/B/Clear.aspx".

While web site A performs first in the browser, the state of session is alive.

But while I performs web site B using thread to clear state value of the application in another browser, the state value of session in A would be also cleaned.

I havnt figured out this problem so far.

I do not know either my concept wrong or having solution to solve this problem.

If someone knows, thanks for your kindly answer.

Jim.
Mar 18 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: P. Glassel | last post by:
I'm having problems getting session timeouts to change programmaticlaly under IIS6.0. This is unchanged code that ran as expected under IIS5.0. Anyone else run into this problem? Thx.
6
by: Ilia | last post by:
Hi folks, I have some problems with ASP.NET Session State. The following simple program runs well if the Session State set as "InProc". If I switch to "SQLServer", the changes, made by the...
4
by: JIsenstadt | last post by:
I would appreciate it if anybody can help with a issue I am having in an ASP.NET application that is timing out before a process has been completed. The scenario ASP.NET application under IIS 5...
10
by: GreggTB | last post by:
I've got an page (LOGIN.ASPX) that receives the user's login information. During the page load, it checks the credentials against a database and, if validation is successful, creates an instance of...
3
by: bennett | last post by:
In the web.config file for my application, in the <sessionState> section I have set timeout="120" (in minutes), but session state variables in my application seem to be expiring in about 5 minutes....
2
by: Markus Prediger | last post by:
Hi NG, I have an asp.net project that uses an vb6 com object for some database-manipulation (I cannot rewrite it in .net, sorry, its not my decision). I want it to be instanciated seperately...
9
by: Adrian Parker | last post by:
We have a website that works everywhere but on a few PCs on this one site.. Asp.Net 1.1 Server = Windows 2003 Client = XP In the web.config we use - cookieless="false" in the browser settings...
22
by: roadrunner | last post by:
Hi, Our website has recently been experiencing some problems under load. We have pinpointed a particular function which slows dramatically when we have these problems. Normally it should execute...
6
by: =?Utf-8?B?QnJlbmRhbiBLYXk=?= | last post by:
Hi there, We have an ASP.Net application that is generating huge numbers of Context Switches when a certain number of active users are present. We tried changing the configuration of the...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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...

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.