To see my page describing the peculiarities of PHP at SCCC , go to : http://www.seattlecentral.edu/it-services/wiki/PHPSCCC
To read my step-by-step howto for using sessions at SCCC, go to : http://www.seattlecentral.edu/it-services/wiki/PHPSessions
To see the source of this script, go to : http://www.seattlecentral.edu/~dmartin/test.phps
This php script is running as the user: dmartin
Your session ID is 7pdmhafmdtk4fa455vepnn03o7
You have seen this page 0 times.
http://www.seattlecentral.edu/~dmartin/test.php
http://www.seattlecentral.edu/~dmartin/test.php?PHPSESSID=7pdmhafmdtk4fa455vepnn03o7
http://www.seattlecentral.edu/~dmartin/test.php?ENDSESSION=true
There's nothing special about ENDSESSION, I just test for it at the beginning of the script and then reset the session if I find it.
Remember, this php script is running as the user: dmartin
In /home/dmartin/.php/session...
If the permissions say '0600', then only the owner of those files can read and write to them. That means you can't write a script to read the contents of these files, only I can do that. That's pretty cool.
To see the source of this script, go to : http://www.seattlecentral.edu/~dmartin/test.phps