Re: Cookies & sessions
| From: | Michael A. Peters | Date: | Sun, 24 Jan 2010 09:24:25 +0000 |
| Subject: | Re: Cookies & sessions | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-301392@lists.php.net to get a copy of this message | ||
clancy_1@cybec.com.au wrote:
On Sat, 23 Jan 2010 09:32:37 -0500, tedd.sperling@gmail.com (tedd) wrote:Using only sessions means you have the tried and true php session handling to manage the cookie, rather than re-inventing the wheel yourself by using your own random string to do the same thing that a session cookie already does.At 1:13 PM +1100 1/23/10, clancy_1@cybec.com.au wrote:BUT you have told me to use sessions, and sessions use a Cookie! If the Cookie I use contains random data, the only difference in security is in the time that it remains valid. Neither contains any useful information, but while they are valid both will enable you to bypass security.but I would be grateful for any suggestions how I could make this procedure more secure.We have given you advice that you should NOT use Cookies in any fashion to secure your site, but you remain steadfast that you know better -- so, what else can we say other than good luck.