On Wednesday 10 April 2002 23:26, Egil Helland wrote: > Well, if you know what cookies are, then you know what session variables > are. You just dont know that yet.. :) > > Joke aside, session variables are special cookies, created by you or > your app, it is represented at the users machine only by a small cookie > with a generated ID, which again points back to the server. The server > keeps a repository of information, the session database, from which it > retreives the variables stored by your app. > > PHP does not, like ASP, automatically start the session, you have to do > that manually, and you have to maintain it manually on each page that > you want to read session stuff from.
Small clarification, PHP has a setting which specifies whether or not a session is started automatically. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Since aerosols are forbidden, the police are using roll-on Mace! */ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php