Re: CGI::Session with MySQL Driver
- From: Alexandre Jaquet <alexj@xxxxxxxxxxx>
- Date: Mon, 30 May 2005 14:02:59 +0200
A. Sinan Unur a écrit :
Alexandre Jaquet <alexj@xxxxxxxxxxx> wrote in news:429af5eb$0$1145$5402220f@xxxxxxxxxxxxxxx:
I've read this doc, but it's doesn't seem to have example with new defined field
I want to store user_name in session table
<URL: http://search.cpan.org/~sherzodr/CGI-Session-3.95/Session/Tutorial.pm#CREATING_NEW_SESSION>
nothing about storing data in database ...
$SESSION = new CGI::Session( "driver:MySQL", undef, { Handle =>$dbh} );
$SESSION->store($dbh,$SESSION->id,'',"user_name => $username");store now return : Can't use string ("b7f26a2095fb2ff4e11e8ae1295d767e") as an ARRAY ref while "strict refs" in use at ...
the string b7f26a2095fb2ff4e11e8ae1295d767e represent the sessionid what's wrong ?
.
- Follow-Ups:
- Re: CGI::Session with MySQL Driver
- From: A. Sinan Unur
- Re: CGI::Session with MySQL Driver
- From: Mark Clements
- Re: CGI::Session with MySQL Driver
- 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
- 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
|