468,783 Members | 1,589 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,783 developers. It's quick & easy.

Passing variables between projects?

Roy
Hey all,

Is it possible to pass session variables between pages in separate
projects?

For example:
inetpub\thisproject\blah.aspx
has a session variable and response.redirects the user to
inetpub\anotherproject\test.aspx

When I try to access the session variable after the redirection, it
doesn't exist? I'm assuming this is because the two pages have separate
bin files? How can I pass a variable between these two?

Thanks.

*** Sent via Developersdex http://www.developersdex.com ***
Nov 19 '05 #1
2 2793
you can share session , if you can build both projects in to a single
web application

MSDN article explaning "Make Multiple Visual Studio .NET Projects
Participate in the Same Web Application"

http://support.microsoft.com/default...en-us;307467#5

Nov 19 '05 #2
No, session data is not shared between separate applications.
You might look at other ways of passing data between applications, such as a
common database or passing values via post or querystring.

--
I hope this helps,
Steve C. Orr
MCSD, MVP
http://Steve.Orr.net

"Roy" wrote:
Hey all,

Is it possible to pass session variables between pages in separate
projects?

For example:
inetpub\thisproject\blah.aspx
has a session variable and response.redirects the user to
inetpub\anotherproject\test.aspx

When I try to access the session variable after the redirection, it
doesn't exist? I'm assuming this is because the two pages have separate
bin files? How can I pass a variable between these two?

Thanks.

*** Sent via Developersdex http://www.developersdex.com ***

Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Amr Mostafa | last post: by
3 posts views Thread by domeceo | last post: by
6 posts views Thread by Scott Zabolotzky | last post: by
1 post views Thread by Kent Ogletree | last post: by
12 posts views Thread by Andrew Bullock | last post: by
3 posts views Thread by Robert Thompson | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.