-
Sessions in asp.net
Hi,
I have this situation
The user is on site A and has a session("user") that contain something about the user. From a page on the site A the user is redirected on site B to do something else(in site B I do not need that session("user")-I know that the session does not move with the user when the user leave the site). After that the user is redirected back to site A , but the session("user") is gone.
Because everithing was done in the same browser session, I expected to keep the sessions from site A whe the same user is coming back.
I'm doing something wrong, or this is the default behavior?
Can I keep some values when I jump from one site to another and back, without databases and query string.
Thank you,
svatasoiu
-
I think that is normal, try storing the info in a cookie between sites.
-
I've done a test, each time a new session start a record is inserted in a DB. So I ran my web site then click a link that redirected me to another site where there's a link to my site and no new record inserted, so since all have been done in the same browser instance, no problem. You may check your session timeout maybe.