You are here: $_SESSION varibles not being removed... « All PHP « IT news, forums, messages
$_SESSION varibles not being removed...

Posted by Domestos on 09/27/50 11:28

Consider this...

Page1.php - calls session_start();
Page2.php - calls session_start(); and sets $_SESSION['user']
Page3.php - does not call session_start();
Page4.php - calls session_start(); and displays $_SESSION['user']

Each page is accessed sequentially
Is that correct? should $_SESSION['user'] still be available in page4.php
even though page3.php did not call session?
Or am I mistaking how sessions work? I thought you had to keep calling them
on every page else the SESSION varibales would be lost.

--
Thanks,
Andrew Makinson
www.buy-a-pixel.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

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