First make sure you have done a session_start()

If that's not the problem, why not trying this syntax

$_SESSION["layer"] = $layer;

Think it's easier when looking at your session_vars as if it was an array,
which it is actually...

"Pushkar Pradhan" <[EMAIL PROTECTED]> schreef in bericht
> I am following example 4 on
> code:
> if(!session_is_registered("layer") ) {
>    session_register("layer");
> }
> I tried both "" and ''s.
> Doing a phpinfo() on the pg. doesn't show any $HTTP_SESSION_VARS
> I've both track_vars and register_globals enabled in my php.ini
> Any idea what's wrong? Thanks,
> -Pushkar S. Pradhan

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to