Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: CGI::Session::MySQL

by MrCromeDome (Deacon)
on Aug 07, 2003 at 18:50 UTC ( #281994=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use DBI;
    use CGI;
    ...
    my $request = new CGI;
    my $dbh = DBI->connect("DBI:mysql:orientation", "user","pass", { Raise
    +Error => 1});
    my $session = new CGI::Session("driver:MySQL", $request, {Handle => $d
    +bh});
    
  2. or download this
    use DBI;
    use CGI;
    ...
    my $request = new CGI;
    my $dbh = DBI->connect("DBI:mysql:orientation", "user","pass", { Raise
    +Error => 1});
    my $session = new CGI::Session("driver:MySQL", $request, {Handle => $d
    +bh, DataSource => "DBI:mysql:orientation", User => "user", Password =
    +> "pass"});
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://281994]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2021-04-12 12:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?