Sessions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings from San Diego!

 

I call session_start() on all my pages and then <? echo session_id(); ?>
and everything is the same from all the pages.  However if I stuff a
variable into $_SESSION it's never transferred between pages.  So if I
do a <? $_SESSION["Username"] = "Brian"; ?> and then go to another page
and say <? echo $_SESSION["Username"]; ?> it comes back blank.

 

It doesn't seem to matter if I enclose the Username in double quotes """
or single quotes ''' or nothing; I have no data.  But like I said, the
session id is being passed around just fine.

 

Someone help???

 

Thanks,

 

-brian

 

Brian D. McGrew { brian@xxxxxxxxxxxxx || brian@xxxxxxxxxxxxxxxxxxx }

---

> YOU!  Off my planet!

 


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux