Hello there...
I have a doubt regarding the session management in perl.
The entries that I saw in the mailing list were speaking of mod_perl
which I did not understand.
I am not using mod_perl. I use the Apache::Session module and tie a hash to
it and add session variables to the hash as soon as I start the session. I
just want to know whether it is possible to add more session variables while
accessing the session variables already added when the session was started.
I want to add more session variables after a session is started. Is it
possible. I can't express the idea properly.
I just start a session when the login.cgi is run. Then I add the login name as
a session variable in the next page called. But this login name is not
retrieved when accessed from the third page. But if I add a session variable
in the first page itself, it is possible to retrieve it in the third page.
This is my problem.
Here is a portion of my code.
$dbh=DBI->connect('dbi:mysql:database=test;mysql_socket=/var/lib/mysql/mysql.sock','root');
use Apache::SEssion::MySQL;
tie %session,'Apache::Session::MySQL',$id,
{
Handle=>$dbh;
LockHandle=>$dbh
}
$session{login_name}="name";
Thanks in advance
Cheers
Dups
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]