Reply to Re: keep variables in pagination

Your name:

Reply:


Posted by Tim Roberts on 02/18/06 23:31

"EOZyo" <eozyo6@gmail.com> wrote:
>
>I have a question though, what's better to use (in a very general way)
>SESSIONS or COOKIE? I mean i worked already with cookies and everything
>works but if i need to learn one or the other, what would be the best?

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

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