Passing varaible through $_session but not working..

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • upendrajpr@gmail.com

    Passing varaible through $_session but not working..

    Dear friend,

    I am trying to send some login variable with

    <? session_start; ?>

    if(!isset($_SES SION['permission'])) {
    $_SESSION['permission'] = 1; }

    it works on the same page but when I come to some other page
    it can not worked .. I am using php 5.2.1 with apache server on xp. My
    register_global is disabled for security reason.

    How can I pass the variable to other page ??

    Thanks in advance.

    @situ

Working...