Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: reg access of stored session variable

by hippo (Curate)
on Nov 11, 2013 at 11:29 UTC ( #1061979=note: print w/ replies, xml ) Need Help??

in reply to reg access of stored session variable

I've never used CGI::Session, but this looks wrong:

my $session = CGI::Session->new((undef, $cgi, {Directory=>"/tmp"})); $session = CGI::Session->new();

Do you mean to overwrite the $session variable here?

Also, your DB query in the first script looks susceptible to an SQL injection.

Comment on Re: reg access of stored session variable
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2014-12-29 08:19 GMT
Find Nodes?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?

    Results (185 votes), past polls