php-windows | 2002071
Date: 07/10/02
- Next message: Matt Babineau: "RE: [PHP-WIN] SESSION vars"
- Previous message: colin mcdonald: "[PHP-WIN] Re: PHP on IIS 5.0"
- Next in thread: Matt Babineau: "RE: [PHP-WIN] SESSION vars"
- Maybe reply: Matt Babineau: "RE: [PHP-WIN] SESSION vars"
- Maybe reply: Matt Babineau: "RE: [PHP-WIN] SESSION vars"
- Maybe reply: Dash McElroy: "RE: [PHP-WIN] SESSION vars"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I was reading on php.net but it seem unclear to me how to properly set a
session variable.
my code looks like this:
session_start();
$_SESSION["logged_in"] = "1";
----------------------------------
when I click the link to the next page, and it checks for the logged_in
session var it cannot find it. am I setting it improperly? do I need to
use:
session_register("logged_in");
Thanks,
Matt Babineau
MCWD / CCFD
-----------------------------------------
e: <mailto:matt <email protected>> matt <email protected>
p: 603.943.4237
w: <http://www.criticalcode.com/> http://www.criticalcode.com
PO BOX 601
Manchester, NH 03105
- Next message: Matt Babineau: "RE: [PHP-WIN] SESSION vars"
- Previous message: colin mcdonald: "[PHP-WIN] Re: PHP on IIS 5.0"
- Next in thread: Matt Babineau: "RE: [PHP-WIN] SESSION vars"
- Maybe reply: Matt Babineau: "RE: [PHP-WIN] SESSION vars"
- Maybe reply: Matt Babineau: "RE: [PHP-WIN] SESSION vars"
- Maybe reply: Dash McElroy: "RE: [PHP-WIN] SESSION vars"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

