Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^7: RFUC : aXML release 0.2.0

by tinita (Parson)
on Jul 18, 2011 at 00:46 UTC ( #915043=note: print w/ replies, xml ) Need Help??


in reply to Re^6: RFUC : aXML release 0.2.0
in thread RFUC : aXML release 0.2.0

you misunderstood. $sessionID becomes:

" OR userID="1

Your code:

$sessionHash = DB::GetHash(qq@ SELECT * FROM sessions WHERE sessionID= +"$sessionID"; @); ... unless ($userID eq $sessionHash->{userID})

I assumed from that code and DB::GetHash that there is a field userID in your table.


Comment on Re^7: RFUC : aXML release 0.2.0
Select or Download Code
Re^8: RFUC : aXML release 0.2.0
by Logicus on Jul 18, 2011 at 01:07 UTC

    Yes there should be that column, I was adding that in on this version but I forgot about it.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2014-10-01 11:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (9 votes), past polls