Session loss when clicking top header link

  1. Well, the topic really says the problem. In vBulletin I know if you don't create your links a certain way, the session will be lost. It's been a really long time since I've worked with it so sorry I can't give any specifics on how to fix. It's very simple though, as far as I can remember, so probably looking at any other link would instantly show. I believe there's built-in functions for creating links so that sessions don't get lost.
  2. jcsd
  3. Borek

    Staff: Mentor

    Can you be a little bit more specific? I guess you may be referring to the difference between addresses given as and, but I am not sure.
  4. Kurdt

    Kurdt 4,851
    Staff Emeritus
    Science Advisor
    Gold Member

    I think you have it borek. If you sign in under one of them then use a link to the other you won't be signed in any more. Its always best practice to include the www.
  5. Borek

    Staff: Mentor

    It is because of the way cookies are handled, they are assigned to the domain.
  6. dlgoff

    dlgoff 3,158
    Science Advisor
    Gold Member
    2014 Award

    I opened this page both ways to check how firefox handles the cookies. Looks like both sets get stored under the same heading.
  7. Well it happens whenever I, say, click a link from google or somebody else links to another page from either this forum or somewhere else on the internet. I'm not sure why, and I suppose that outside links can't be helped, but it does happen with links on these forums as well.
Know someone interested in this topic? Share this thead via email, Google+, Twitter, or Facebook

Have something to add?