[FX.php List] Very strange session variable problem

Tom Sepper tsepper at dctandt.com
Fri Feb 2 11:56:37 MST 2007


Print a print_r($_SESSION) to make sure it's really set.


---
Tom Sepper
Director of Information Technology
Director's Choice Tour & Travel

P 806.762.6354
F 806.763.7637

tsepper at dctandt.com
http://www.directorschoicetourandtravel.com

-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Bob Patin
Sent: Friday, February 02, 2007 12:54 PM
To: FX.php Discussion List
Subject: [FX.php List] Very strange session variable problem

Hi,

Hopefully someone can help me with this:

I set my session variable on page 1 (yes, I do have "session_start()"  
at the top of the page.

On page 2, I try to echo it with this:

session_start();
echo $_SESSION['myvar'];

and nothing appears. I know I'm setting the variable, because on page  
1 I echo the session variable and it does show that I did set it.

Anyone ever seen something like this before?

Thanks,

Bob Patin
Longterm Solutions
bob at longtermsolutions.com
615-333-6858
http://www.longtermsolutions.com

   CONTACT US VIA INSTANT MESSAGING:
      AIM or iChat: longterm1954
      Yahoo: longterm_solutions
      MSN: tech at longtermsolutions.com
      ICQ: 159333060


_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list