Date: 04/25/01
- Next message: Konstantin Borchert: "[phplib] PHPLib and PostgreSQL (backend still open)"
- Previous message: HurricaneIndy <email protected>: "Re: [phplib] New PHPLIB Installation"
- In reply to: Vivek Kumar Agrawal: "[phplib] Session Management!!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Are you calling page_open() in your new.php page?
I'd also suggest "creating" the variable $first before registering it as
a session variable, e.g.
$first = "test";
$sess->register("first);
(although, deep down I feel it should work either way)
-----Original Message-----
From: Vivek Kumar Agrawal [mailto:vivek.agrawal <email protected>]
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.
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;
?>
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Konstantin Borchert: "[phplib] PHPLib and PostgreSQL (backend still open)"
- Previous message: HurricaneIndy <email protected>: "Re: [phplib] New PHPLIB Installation"
- In reply to: Vivek Kumar Agrawal: "[phplib] Session Management!!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

