You are here: Problem solved! « PHP Programming Language « IT news, forums, messages
Problem solved!

Posted by damezumari on 06/13/07 16:33

Yes, error checking is on in php.ini.

I have found my error:

Further down in the main program I had a new assignment to
$_SESSION['classtitle']:

$_SESSION['classtitle'] = 'b';
echo 'main: '.$_SESSION['classtitle'].'<br />';
unset($_SESSION['classtitle']);
echo '<p><a href="test.php">test</a></p>';
...
...
...
$_SESSION['classtitle'] = a;

It is of course the last assignment to $_SESSION['classtitle'] in the
main program that is in effect when the user clicks the link to
test.php, not the last assignment before the link.

Silly me! :)

Thanks for the responses!

Regards,

Jan Nordgreen

 

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

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