[PHP] Re: Cookies - good or bad???

2002-07-18 Thread Kondwani Spike Mkandawire
Before I started to read up on sessions, I simply used my own form of session management by sending all relevant variables either via URL or via form fields to the subsequent pages. Obviously this method leaves a bunch of holes as well, but I KNOW that my application is always pure and

[PHP] Re: Cookies - good or bad???

2002-07-18 Thread Cord Schneider
Phpcoder [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'm really battling with this whole session thing. My first impressions are that cookies are OK, and really helps to make sessions workable and efficient, YET, from a developers point of view, I [..snip..]

[PHP] Re: Cookies - good or bad???

2002-07-18 Thread Scott Fletcher
Instead of Cookies, I use Sessions which is run on hte server side. So, I use the --snip-- $salt = strtoupper(md5(uniqid(rand(; session_id($salt); session_start(); header(Location: https://xxx.yyy.zzz/index.php?.SID.init_login=TRUE;); --snip-- to create the identifer for an unique

[PHP] Re: Cookies - good or bad???

2002-07-18 Thread Kondwani Spike Mkandawire
Awesome Scott... That's some wicked code... Scott Fletcher [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Instead of Cookies, I use Sessions which is run on hte server side. So, I use the --snip-- $salt = strtoupper(md5(uniqid(rand(;

[PHP] Re: Cookies - good or bad???

2002-07-18 Thread Scott Fletcher
Well, I have to have to it becuase my company is a credit report reseller. I can't image if someone can easily break in. :-) As long as I don't work for CIA or FBI then I'll be fine! Kondwani Spike Mkandawire [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

Re: [PHP] Re: Cookies - good or bad???

2002-07-18 Thread Justin French
on 19/07/02 1:19 AM, Cord Schneider ([EMAIL PROTECTED]) wrote: A number of people have offered their opinion why cookies are a bad idea. As a developer new to PHP, if cookies are such a big a big no-no, how does one do effective session management without storing anything client-side?? Bear

Re: [PHP] Re: Cookies - good or bad???

2002-07-18 Thread Scott Fletcher
I never heard of this php function, link(). Sound like a good function, I'm going to have to look it up! Thanks, FletchSOD Justin French [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... on 19/07/02 1:19 AM, Cord Schneider ([EMAIL PROTECTED]) wrote: A number

Re: [PHP] Re: Cookies - good or bad???

2002-07-18 Thread Justin French
on 19/07/02 4:49 AM, Scott Fletcher ([EMAIL PROTECTED]) wrote: I never heard of this php function, link(). Sound like a good function, I'm going to have to look it up! Ummm, sorry, it's one that I wrote myself in my library of code -- not an official function. my function link() takes the

Re[2]: [PHP] Re: Cookies - good or bad???

2002-07-18 Thread Evgeny Chuykov
Justin French wrote: JF As has been said on this list MANY times, just have a look at the big sites JF like amazon.com -- no cookies, no javascript, no reliance on client-side for JF anything. Take care of it all server-side, where you have a controlled JF environment. And what about