Jump to content

Recommended Posts

Is there anything that would create a new session id within a current session.  On my pages, I pull sesion id using sessiond_id(). on some of my pages, it pulls one session id, then on others, it pulls a different one.  the is no killing of the session, but I can go to one page that has one id, then to another that pulls a different id, then go back and reload the original page and it has the original id.  I am perplexed.

Link to comment
https://forums.phpfreaks.com/topic/71961-solved-session-question/
Share on other sites

it is hard to describe, but it is like one group of my pages are running on one session, and another group on a different session.  I am not doing any kind of regenerate.  It is like one group of the pages just starts as new session. but one group keeps the original session id and the other group get the new id.  but you can go back and forth between the pages, and each page will pull it's respective id.  however, I want only one session id throughout the whole site.  I am really befuddled.

Just to let you all know, I am an idiot.  The reason for the reassigning of session ids is that I built my javascript menu with absolute links instead of relative links. some of the links contained "www" and some did not. therefore, running on two servers, hence, two session id's.  Yeah, it works properly now. :-[

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.