Date: 04/25/01
- Next message: Nick Obukhov: "[phplib] Warning message in session.inc"
- Previous message: Philip Strnad: "Re: [phplib] One more time - step by step self registration mode - is this correct?"
- Next in thread: Chris Johnson: "RE: [phplib] Session Management!!!"
- Reply: Chris Johnson: "RE: [phplib] Session Management!!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
Can you please help me.
I am not getting value of registered session variable.
Please let me know whether i have to change in the php.ini for that or I have to change in the following code.
Please go through the code.
Code of my first file (i.e. first.html ) is:
<HTML>
<BODY>
<form action="foo.php" method="Get">
Name: <input type="text" name="username"><br>
<input type="submit">
</form>
</BODY>
</HTML>
and code of foo.php is
<?php
page_open(array("sess"=>"My_Session"));
$sess->register("first");
$first="Test";
page_close();
?>
<Html>
<body>
<a href="new.php">Click</a>
</body>
</html>
and i am unable to get value of $first variable on new.php and its code is :
<?php
echo $first;
?>
Any response in this direction is appreciated.
Regards,
Vivek
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Nick Obukhov: "[phplib] Warning message in session.inc"
- Previous message: Philip Strnad: "Re: [phplib] One more time - step by step self registration mode - is this correct?"
- Next in thread: Chris Johnson: "RE: [phplib] Session Management!!!"
- Reply: Chris Johnson: "RE: [phplib] Session Management!!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

