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

Re^3: CGI::Cookie

by ramachandrajr (Novice)
on Aug 31, 2015 at 10:37 UTC ( [id://1140519]=note: print w/replies, xml ) Need Help??


in reply to Re^2: CGI::Cookie
in thread Re: CGI::Cookie

sorry for the late reply first of all ,i started a blog based on perl(never programmed a web back end before), i was planning to use a cookie for holding in all the details of a user loading them from the database like name, b'day ,qualification etc ,such that i can use them in the posts they make so that they don't need to put em in .i was doubting using a variable derived from db data instead of a string,i figured it out anyways that its possible.sorry about all the mess.

Replies are listed 'Best First'.
Re^4: CGI::Cookie
by Your Mother (Archbishop) on Aug 31, 2015 at 12:43 UTC

    This is an insecure and dangerous approach. Please do not do it. If you have already done it, please redo it or at least notify your users that any data posted, registered with your site is unsafe. See also: Re: Secure Perl Coding Standards.

      Then how am i going to get all the data displayed on pages belonging to user. by the way i set secure=>1 ,you saying may be i should use say a unique id for cookie and get data in every page using that cookie and dbi read?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-04-20 05:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found