In VS .NET you can have 2 or more projects (assemblies) comprise 1 solution
by opening one project and choosing File...Add Project. You'll still have 2
assemblies, but they can interact for 1 solution. This is similar to the
Visual Basic 6 Project Group concept.
You are correct in thinking that having multiple assemblies running causes
them to run in different processes, but (AFAIK) that is not where the
session data would be stored.
Here's a simple test you can do to see:
Create 2 different ASP .NET projects.
In each project place the following code into the Page_Load event of the
page that is automatically generated for you (WebForm1.aspx) :
response.write (session.sessio nID)
Run one of the pages and look at the ID.
Type in the address of the other page and look at the ID again.
They should be the same and if they are, session data can be passed between
them.
"Richard Bowman" <ri*****@bowman soft.com> wrote in message
news:9c******** *************** **@posting.goog le.com...
From what I can see when developing in VB.NET, each project represents
a single assembly, and each VB-based ASP.NET Web Application project
represents its own application, running in its own application space
in IIS. As such, the session information is being maintainted at the
application level, and one web application's session is not the same
as anothers.
How would I go about developing two seperate assemblies that function
inside the same project(applica tion) space?
Richard
"Scott M." <s-***@BADSPAMsnet .net> wrote in message
news:<O7******* *******@TK2MSFT NGP12.phx.gbl>. ..
Why would they have different session data? The fact that the code will
be split between 2 assemblies doesn't mean that the user will be given 2
different session ids as they access pages from each assembly.
The web server will issue a session id when the client first connects to
the site. That session id will remain in memory on the client and the
server until the user closes their browser, the server abandons the session or
the session times out. If a user accesses a page from assembly A and then
accesses a page from assembly B, the session will not have changed.
"AARON PECORARO" <aa***********@ verizon.net> wrote in message
news:Zr******** ******@nwrddc01 .gnilink.net... I need to split apart my web application into multiple projects to
allow it to be distributed in parts, but all of the projects need to work
together (ie. they need to share session information). Does anyone have any
suggestions or solutions to this problem?
Thanks,
Richard Bowman