have you start the session?
i mean, have you put in the top of the page "session_start()"?
the problem seems to be on your script not on your server.

  ----- Original Message ----- 
  From: Gary Kozlowski 
  To: [email protected] 
  Sent: Friday, February 08, 2008 4:42 PM
  Subject: [php_mysql] Re: session variables


  I tried the "print_r($_session);" statement and nothing showed up. 
  Where is this folder located at on the server? What should I see when 
  I look at the folder?

  --- In [email protected], "Marius Bocean" <[EMAIL PROTECTED]> wrote:
  >
  > could be the folder where the sessions are stored.
  > try print_r($_session) to check if the your sessions are passed 
  through the pages. if so, it's probably the folder.
  > hth,
  > t
  > ----- Original Message ----- 
  > From: Gary Kozlowski 
  > To: [email protected] 
  > Sent: Thursday, February 07, 2008 4:54 PM
  > Subject: [php_mysql] session variables
  > 
  > 
  > I'm using session variables (login information) to pass 
  information 
  > between pages.
  > 
  > I had it working and had to put the project on hold for several 
  weeks. 
  > When I went back to testing the session variable aren't being 
  passed. 
  > If I print them right after they are crated they are OK. When I 
  try to 
  > access them from another page they aren't there.
  > 
  > Here is an example to check if the login script has been run: if(!
  isset
  > ($_SESSION['PersonRN']))
  > 
  > Could something have changed with the PHP on the server? If so 
  what to 
  > I ask the hosting people to look for?
  > 
  > Any help will be greatly appreciated.
  > 
  > 
  > 
  > 
  > 
  > __________ NOD32 2857 (20080207) Information __________
  > 
  > This message was checked by NOD32 antivirus system.
  > http://www.eset.com
  > 
  > 
  > [Non-text portions of this message have been removed]
  >



   

  __________ NOD32 2862 (20080210) Information __________

  This message was checked by NOD32 antivirus system.
  http://www.eset.com


[Non-text portions of this message have been removed]

Reply via email to