Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have three sites .for exmaples www.host1.com, www.host3.com, www.host2.com To enter the site you must login(enter username and passsword) When I need to login to a site. Other sites with no login prompt tone will be entered. (Your username and password is the same on all site for each user) please help with this problem how use session[] all site
Posted
Comments
Prasad Avunoori 31-Jul-14 0:30am    
When you are switching from site1 to site2, activate the session in site2. This must be repeated whenever there's a transition.

1 solution

Use Cookies. Sessions will not help. If you want to share a session see the following example will help you.

http://blogs.msdn.com/b/toddca/archive/2007/01/25/sharing-asp-net-session-state-across-applications.aspx[^]
 
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