Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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

by monsieur_champs (Curate)
on Oct 07, 2004 at 17:37 UTC ( #397387=note: print w/replies, xml ) Need Help??

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

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).
  • Comment on Re^2: An Unnofficial Patch to CGI::Session::Auth::DBI...

Replies are listed 'Best First'.
Re^3: An Unnofficial Patch to CGI::Session::Auth::DBI...
by Anonymous Monk on Dec 23, 2005 at 23:29 UTC
    Does anyone know how to determine the current logged in username after a user has been authenticated? Thanks, Andrew

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://397387]
[Corion]: marto: Oh, I'm jealous. I'm going to see DM in Frankfurt, but it's a stadium full of people, so, rather a big thing where you mostly get to see the band on screens ;)
[marto]: yes, the last time I saw them was in Berlin a few years ago, at the old Olympic stadium
[marto]: After Sunday I don't think I'll go see them again :)
[LanX]: Corion: come on, people are people! ;)
[Corion]: Naah, I think it's still an OK show so far. Their new songs aren't exactly great, but I'm not going there for new material anyway ;)

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (14)
As of 2017-03-24 11:36 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (301 votes). Check out past polls.