Session Question HELP!!!!!!!!!!!!!!!

S

SouthSpawn

Ok,

Let's say I have two asp.net projects.
So basically, these projects will have two different assembly .dll files.
Now, let's say I have a session variable in a page called page1.aspx in
project one.
On this page, there is a button that redirects the user to page2.aspx
which is apart of
"project2". If there a way to pass that session variable to page2.aspx of
project2?
Or, for each asp.net project you create. You can only pass sessions
between the pages
that are apart of that project?

Thanks,
Mark
 
K

Ken Dopierala Jr.

Hi Mark,

The best way to do this is to store your session information in a database,
then pass an ID to that record to your page2.aspx. Once in page2.aspx load
your session information from the database and you'll be set to go. Good
luck! Ken.
 
E

Eliyahu Goldin

I don't think different projects make any difference. There should be the
same session. What do you observe?

Eliyahu
 
A

Andy Fish

That's right. all that matters is whether they are in the same IIS
application.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top