Home >> FAQs/Tutorials >> PHP Script Tutorials and Tips >> Index

PHP Tutorials - Understanding and Using Sessions

By: FYICenter.com

A collection of 19 tips on understanding and using sessions in PHP. Clear explanations and tutorial exercises are provided on starting and closing sessions, saving and retrieving values in sessions, deciding how session IDs to be transferred, deciding where to store session files, deciding when to expire session values, etc. Topics included in this collections:

  1. What Is a Session?
  2. How To Turn on the Session Support?
  3. How To Save Values to the Current Session?
  4. How To Retrieve Values from the Current Session?
  5. What Is a Session ID?
  6. How To Retrieve the Session ID of the Current Session?
  7. What Are Options to Transfer Session IDs?
  8. How Session IDs Are Transferred on Your Web Server?
  9. How To Force the PHP Engine to Use Cookies to Transfer Session IDs?
  10. Is It More Secure to Use Cookies to Transfer Session IDs?
  11. Where Are Session Values Stored?
  12. What Is the Timeout Period on Session Values?
  13. How To Test the Session Garbage Collection Process?
  14. How To Set session.gc_maxlifetime Properly?
  15. How To Set session.gc_divisor Properly?
  16. How To Remove Values Saved in the Current Session?
  17. How To Determine If a Session Is New?
  18. How To Close a Session Properly?
  19. What Is session_register()?

(Continued on next topic...)


Selected Developer Jobs:

More...