...

View Full Version : Setting a session



TrainReq
02-26-2007, 06:53 AM
How do I set a session with a value?

Like $_SESSION['paidmember'] with the value of "yes"

Shaffer
02-26-2007, 01:43 PM
Hello,
you were very close.
Here:


$_SESSION['paidmember'] = true; // If you want it like a boolean.
$_SESSION['paidmember'] = "yes"; // If you still want it that way.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum