Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: An Unnofficial Patch to CGI::Session::Auth::DBI...

by zejames (Hermit)
on Oct 07, 2004 at 15:35 UTC ( #397337=note: print w/replies, xml ) Need Help??


in reply to An Unnofficial Patch to CGI::Session::Auth::DBI...

It would be great if you explained what your patch does, rather than required us to read it to know...

Anyway, I guess it fits your needs, and that is cool for that.

--
zejames
  • Comment on Re: An Unnofficial Patch to CGI::Session::Auth::DBI...

Replies are listed 'Best First'.
Re^2: An Unnofficial Patch to CGI::Session::Auth::DBI...
by monsieur_champs (Curate) on Oct 07, 2004 at 17:37 UTC

    Ops! That's my fault! Here it is:

    1. sprintf() is not used anymore in query building. String interpolation is faster and cleaner.
    2. Instead of just parameters for database connection, the constructor now accepts a single parameter holding a DBI Object. Usually I share a DBI connection throught all mya pplication source code.
    3. Introduced a new parameter into the constructor to tell CGI::Session::Auth::DBI how to update and compare password values (I protect my database-stored passwords with MD5 Digest armoring).
      Does anyone know how to determine the current logged in username after a user has been authenticated? Thanks, Andrew

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2021-09-20 23:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?