Click here to Skip to main content
15,888,113 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hii to All
How to share a session value one project to other project, my one project contain asp page and other project contain aspx page, these both project are connected through virtual directory, i want to share asp page session value in aspx page how i do this

plz help me

thanks in advance
Posted

Why not you change your pages to asp.net from asp. Try these:

http://msdn.microsoft.com/en-us/library/ms973813.aspx[^]

http://msdn.microsoft.com/en-us/library/dddsc60w%28v=vs.71%29.aspx[^]

hope it helps :)
 
Share this answer
 
Comments
gourav agrawal 19-Dec-11 2:56am    
actually i have site that is done in asp page and i am not able to do any change on that, so i want to use that site session value in side the my site
Why do you want to share Sessions between project? ASP.NET Session is not designed to do that.

You can always use the querystring to send information to the other project
 
Share this answer
 
Comments
gourav agrawal 19-Dec-11 2:56am    
actually i have site that is done in asp page and i am not able to do any change on that, so i want to use that site session value in side the my site
Sridhar Patnayak 19-Dec-11 3:04am    
User Coockie or QueryString, easily you can implement it in your project

I think this link useful to you
http://msdn.microsoft.com/en-us/library/aa479313.aspx
You cannot share a session between two applications.

it's difficult to handle session timeout through one application to another.
 
Share this answer
 
Comments
gourav agrawal 19-Dec-11 2:56am    
actually i have site that is done in asp page and i am not able to do any change on that, so i want to use that site session value in side the my site
You can take the help of SQL, check here[^]
 
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