|
-
Jun 23rd, 2003, 03:33 AM
#1
Thread Starter
New Member
session variable
how can i use session on my PHP page?
-
Jun 23rd, 2003, 10:16 AM
#2
Addicted Member
add this as a header to your document.
session_start();
and then just reference your sessions like this..
$_SESSION['whatever_name']->$variable = 8;
$_SESSION['whatever_name']->$var2 = 7;
-
Jun 24th, 2003, 12:50 PM
#3
Frenzied Member
Originally posted by TheGoldenShogun
add this as a header to your document.
session_start();
and then just reference your sessions like this..
$_SESSION['whatever_name']->$variable = 8;
$_SESSION['whatever_name']->$var2 = 7;
it would just be
$_SESSION['whatever_name'] = 8;
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|