Line 14: Declare the class session.

Line 16 to 23: Declare some variables this class hold.

  • $session_id
  • $cookie_data
  • $browser
  • $ip
  • $page
  • $current_page_filename
  • $load
  • $time_now

Line 39: Declare the function start

Line 41 to 48: Initialize some variable, and get the time, browser, current page, and cookie data to store them.

Line 49 to 59: If we're using a cookie, grab data from that cookie, and store session id.

Line 60 to 64: Otherwise we're using session... do it the 'session' way.

This page is a stub, meaning it is heavily underdeveloped. You can help us by adding to it.

Community content is available under CC-BY-SA unless otherwise noted.