[FX.php List] Very strange session variable problem

Jon Montgomery igsmasupport at igsmasouth.org
Fri Feb 2 12:09:06 MST 2007


Bob,
    Not sure if this is what you mean, but did you do this:

session_start();

session_start();
include_once('FX/FX.php');

nclude_once('/FX/server_data.php');


$_SESSION['myvar'];



Then do:
.echo_$_SESSION['myvar'];

Jon Montgomery
-- 
Jon Montgomery
Home phone: 618.542.2287
School phone: 618.542.2646 ext, 1133
Cell phone: 618.201.7388
Home email: vicepresident at onecliq.net
School email: jwmontgomery at dqud300.perry.k12.il.us



On 2/2/07 12:54 PM, "Bob Patin" <bob at patin.com> wrote:

> 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