Reply to Re: keep variables in pagination

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация