Re: php variables.
| From: | Jason Wong | Date: | Wed, 10 Apr 2002 15:40:32 +0000 |
| Subject: | Re: php variables. | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18396@lists.php.net to get a copy of this message | ||
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!
*/