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
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..]
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
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(;
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]...
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
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
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
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
9 matches
Mail list logo