|
Posted by EOZyo on 02/19/06 04:20
Hi Tim, thanks for clarifying, i guess that switching from cookies to
sessions isn't a big mess, is it? I mean, I would only have to change
the code and settings related to $_COOKIE for $_SESSION??
What i meant is like in results.php i have $foo =
$_COOKIE['something']; i should change that for $foo =
$_SESSION['something']; obviously, setting the session_start and stuff
like that in the respective pages (the one the stores the info and the
one that retrieves it, am i right?
Thanks!
EOZyo
> Every time you create a cookie, you are sending more crapola over to the
> client computer, to be stored on their hard disk, and ALL of your cookies
> are transmitted back to you with EVERY http request the browser makes.
>
> With a session, PHP basically sends one cookie, and then uses that cookie
> to look up information that is stored locally, on your server. The
> bandwidth impact is much lower.
> --
> - Tim Roberts, timr@probo.com
> Providenza & Boekelheide, Inc.
[Back to original message]
|