Reply to Re: PHP FireFox Session Problem

Your name:

Reply:


Posted by Mike Youell on 09/28/73 11:44

You have <?php ?> tags all over the place. If the $_SESSION array is
to be accessed it is required that a session_start() is added inside
the same <?php tags as the array is accessed in. However your code
does not seem to do this.

For example, if you do

<?php
session_start();

$_SESSION['fred'] = 'bob';
?>
<?php
echo $_SESSION['fred'];
?>

The echo section will not be able to access the session array as the
session_start is not inside the second set of <?php tags.

You might already know this but the code you've pasted appears unclear
to me...

[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

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