Hi,
Can anbody tell me how to run this simple prgm of session mgmt-

page1.php
<?php

session_start();
$my_session_variable = "some value";
session_register("my_session_variable");

?> 
page2.php
<?php

session_start();
print "Value of 'my_session_variable': $my_session_variable";

?> 
It doesnt show any value..
set the path as per windows d:\php4\tmp\ for saving the session file.
what else do i ve to set in php.ini to use session..

Pls. reply

Thanks a lot
Manoj


_____________________________________________________
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com





-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to