A unf. social network done poorly.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
427B

  1. <?php
  2. // save as /includes/session.php
  3. // Disable transparent session id support (makes sessions shaerable via url, we do not want this!)...
  4. ini_set('session.use_trans_sid', 0);
  5. // Have PHP give us a new session ID and destroy the old one and everything associated with it, this is an additional step to help prevent session hijacking...
  6. session_regenerate_id(true);
  7. // Start the session...
  8. session_start();
  9. ?>