You are here: Re: PHP Sessions « PHP « IT news, forums, messages
Re: PHP Sessions

Posted by Justin Koivisto on 10/19/15 11:31

Matt wrote:
> ok, so say i've got 10 different pages. Each user can go through all
> of these different pages, all wich load using different scripts and all
> contain session variables. I need to code session_start(); for each
> page, correct? so each time a user loads a new page...how does that
> session know to continue on the existing session that the current user
> is already using? Does that make sense?

Yes, you need to start a session in order to use the data...

By the use of cookies ot the session ID being passed in the request...

You'll definately want to read the manual for how these things all work.

--
Justin Koivisto, ZCE - justin@koivi.com
http://koivi.com

 

Navigation:

[Reply to this 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

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