Search results

  1. mirrgx10

    $_SESSIONS Not Working

    So here is most of the code that deals with the sessions: /*---included on every page---*/ ini_set('session.cookie_domain', '.mirrg.x10.mx' ); session_start(); require_once("classes/account.class.php"); $a=new account; if(isset($_COOKIE['UID']) && !$a->loggedIn){ $UID=$_COOKIE['UID']...
  2. mirrgx10

    $_SESSIONS Not Working

    Hi all, I have found that I cannot store values in my $_SESSION variable. After checking my site, I noticed that the PHPSESSID value keeps refreshing. For example, my PHPSESSID value could start at f3e5d9f7580415f6f33e8168baebacd8, then, when I reload the page, it changes to...
  3. mirrgx10

    PHPSESSID Keeps Refreshing

    So, after trying a few different things out, here is what I have found: Delete all site cookies. Use: "ini_set('session.cookie_domain', '.[domain].x10.mx' );". Refresh the page. Comment out the above line (step 2). Refresh the page. This seems to work. It creates two PHPSESSID cookies. One for...
  4. mirrgx10

    PHPSESSID Keeps Refreshing

    Do you have a script I could try?
  5. mirrgx10

    PHPSESSID Keeps Refreshing

    The only other code I can think of is in the logout file and the accounts class. Both of which are not run unless the user visits the logout page. Thanks for the suggestion! Any other ideas?
  6. mirrgx10

    PHPSESSID Keeps Refreshing

    I was using it to try to fix my problem (it changes the server-side sessions folder). I'll comment it out. Sadly, the issue is still present though.
  7. mirrgx10

    PHPSESSID Keeps Refreshing

    Trying that yields: "session_start(): open(/sessions/sess_5ea668010100bface7e9bf3ee952f27e, O_RDWR) failed: No such file or directory".
  8. mirrgx10

    PHPSESSID Keeps Refreshing

    Yes. That directory is chmod 777. I am seeing multiple sessions created in that directory each time I refresh the page. You can see my situation if you look at the PHPSESSID cookie on the phpinfo page and then refresh the page. Does this information help? Thanks, Josiah
  9. mirrgx10

    PHPSESSID Keeps Refreshing

    @caftpx10 , Do you mean "/tmp" or just session_save_path() (with no parameter)? If it helps, here is my phpinfo page: mirrg[dot]x10<dot>mx[slash]mirrgmin<slash>phpinfo.php Thanks, Josiah
  10. mirrgx10

    PHPSESSID Keeps Refreshing

    @caftpx10 , I don't think I am destroying them on page load. The only place I "unset" them is in the logout class. Here is what I do at the top of each page to set up the sessions: session_save_path("/home/mirrgx10/sessions/"); //To set a new session save path (to see what was being...
  11. mirrgx10

    PHPSESSID Keeps Refreshing

    @caftpx10 , I have tested it in Chrome on Chrome OS, Android, & IOS. I am on server xo3. Thank you, Josiah
  12. mirrgx10

    PHPSESSID Keeps Refreshing

    Hi all, I have found that my PHPSESSID keeps refreshing. For example, my PHPSESSID value could start at f3e5d9f7580415f6f33e8168baebacd8, then, when I reload the page it changes to 51650bc39fa118082101a7ec56303ecd. This is an issue, as I cannot save anything to the user's session. I have tried...
Top