Menu

sessions

Help
2003-09-19
2003-09-19
  • mike rogers

    mike rogers - 2003-09-19

    hi. i need to keep the session active while opening a new browser window. in other words, still be looged in when opening a new window. does anyone have any thoughts on this. i've read through all the php docs but can't find a way to do it in php.ini. thanks for any suggestions.

     
    • Justin Koivisto

      Justin Koivisto - 2003-09-19

      That should be automatic. Sessions are based on server requests. The server doesn't know the difference between one browser window and another as long as it is the same program. Just be sure that you call session_start() at the beginning of the page before you output anything. If you want to use PSA's user management, you need to include the _restrict.php file instead of session_start().

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.