Re: Session Managment?
| From: | Andrei Zmievski | Date: | Wed, 05 Jul 2000 13:20:05 +0000 |
| Subject: | Re: Session Managment? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4925@lists.php.net to get a copy of this message | ||
On Sat, 01 Jul 2000, Teodor Cimpoesu wrote:
> Then, I would really appreciate if somebody would explain how
> session_register() works, namely where does it look for those
> variables. I sow least "register_globals" affects its behaviour.
> In Java you have setAttribute('name', object), which is far more
> easy to use (to me:)
If register_globals is off, session_register("foo") will result in
$HTTP_SESSION_VARS["foo"] being saved. If register_globals is on, then
it will save the global variable $foo.
-Andrei
* Black holes are where God divided by zero. *