Results 1 to 3 of 3

Thread: Sessions in asp.net

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2001
    Location
    MA, US
    Posts
    78

    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

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    I think that is normal, try storing the info in a cookie between sites.

  3. #3
    Lively Member matt3011's Avatar
    Join Date
    May 2002
    Location
    France
    Posts
    82
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width