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.
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.
| [reply] |
|
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?
| [reply] |
|
| [reply] |
|