Click here to Skip to main content
15,896,118 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends,

I developed a website and configured in IIS in the name(abc) and then I copied the same website to another directory and that also configured in IIS with different name(def).

Both the application are working good.


Now, I am opening the abc application(abs/default.aspx) and then in another tab I'm opening def application(def/default.aspx). In this case when I login the second(def) app in the second tab , the first(abc) app is losing the session and then logs out automatically.

Please explain the problem and give me the solution.
Posted
Comments
Amol_27101982, India 1-Jul-13 11:03am    
Can you try doing the same thing with two different browsers?
idhris2011 1-Jul-13 13:01pm    
It should work in same browser
Is that is possible for both sites having same session?

I think that Both Application are Sharing the Common Application Pool(i.e Using the same Application Pool) to Response the Request From Clint. You need to Run Both the Application on Different Application pools. Hope this will Help you.
 
Share this answer
 
try use storing sessions in sql server via this code
http://bprogrammer.mihanblog.com/[^]
first translate this weblog from persian to english then use it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900