Re: CGI::Session with MySQL Driver
- From: "A. Sinan Unur" <1usa@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 30 May 2005 13:17:02 GMT
Alexandre Jaquet <alexj@xxxxxxxxxxx> wrote in
news:429b107e$0$1147$5402220f@xxxxxxxxxxxxxxx:
> thanks, I think there is a problem under windows, $session->param(
> user_name => "testdata" ); is not written for a session table
>
> based on a db :
>
> CREATE TABLE `sessions` (
> `id` char(32) NOT NULL,
> `a_session` text NOT NULL,
> `user_name` varchar(100) NOT NULL,
> UNIQUE KEY `id` (`id`)
> ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
The session data are stored in the a_session field by the CGI::Session
driver. You should use the param method of the CGI::Session object you
have created to access that information.
Trust me, this is in the documentation.
Now, another problem with your code was pointed out elsethread
(regarding the arguments to the CGI::Session constructor). You will need
to fix that before doing anything else.
READ THE DOCUMENTATION.
Sinan
--
A. Sinan Unur <1usa@xxxxxxxxxxxxxxxxxxx>
(reverse each component and remove .invalid for email address)
comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
.
- References:
- CGI::Session with MySQL Driver
- From: Alexandre Jaquet
- Re: CGI::Session with MySQL Driver
- From: Fabian Pilkowski
- Re: CGI::Session with MySQL Driver
- From: Alexandre Jaquet
- Re: CGI::Session with MySQL Driver
- From: A. Sinan Unur
- Re: CGI::Session with MySQL Driver
- From: Alexandre Jaquet
- Re: CGI::Session with MySQL Driver
- From: Mark Clements
- Re: CGI::Session with MySQL Driver
- From: Alexandre Jaquet
- Re: CGI::Session with MySQL Driver
- From: Mark Clements
- Re: CGI::Session with MySQL Driver
- From: Alexandre Jaquet
- Re: CGI::Session with MySQL Driver
- From: Mark Clements
- Re: CGI::Session with MySQL Driver
- From: Alexandre Jaquet
- Re: CGI::Session with MySQL Driver
- From: Mark Clements
- Re: CGI::Session with MySQL Driver
- From: Alexandre Jaquet
- CGI::Session with MySQL Driver
- Prev by Date: Re: CGI::Session with MySQL Driver
- Next by Date: Re: CGI::Session with MySQL Driver
- Previous by thread: Re: CGI::Session with MySQL Driver
- Next by thread: Re: CGI::Session with MySQL Driver
- Index(es):
Relevant Pages
|
|