By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,077 Members | 2,160 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,077 IT Pros & Developers. It's quick & easy.

Passing variables between projects?

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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.