Reply to Re: Session

Your name:

Reply:


Posted by Jerry Stuckle on 11/18/60 11:43

desh wrote:
> helo friends
>
> I m newbie in PHP . I m not able to know what exactly the use of
> session is. How can one keep the track of users using Session..
>
> Desh
>

Hello, Desh,

A session is basically a way to remember data between requests.

When a user requests a page, he gets that html. However, once the page
has been sent from the server to the user, the server forgets about it.
That request is done. The next request coming in starts "fresh" -
nothing from the previous page is available. The closest you can come
is hidden fields in a form (which is also very insecure).

The session is a way to save information between requests. The data is
stored on the server, and a cookie containing the session's unique id is
sent to the user's browser. Now when the user requests the next page,
the cookie is sent back to the server with the request. The server can
then retrieve the session information and make it available to the page.

Hope this helps a little.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[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

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