Posted by Michael Fesser on 07/25/07 09:50
..oO(upendrajpr@gmail.com)
>Dear friend,
>
> I am trying to send some login variable with
>
><? session_start; ?>
<?php session_start(); ?>
Relying on short open tags is bad.
>if(!isset($_SESSION['permission'])) {
> $_SESSION['permission'] = 1; }
>
> it works on the same page but when I come to some other page
>it can not worked ..
Does the second page call session_start() as well? How do you transmit
the session ID - in the URL or in a cookie?
Micha
[Back to original message]
|