You are here: Sessions in different versions of PHP « All PHP « IT news, forums, messages
Sessions in different versions of PHP

Posted by Mike on 02/22/07 16:23

I have tested the 2 scripts below....

aoltest.php
*************
<?php
session_start();
$_SESSION[s_check1] = "4";
?>
<a href="aoltest3.php">click me</a>


aoltest3.php
**************
<?php
session_start();
?>
<body>
The session is <?php echo $_SESSION[s_check1];?><br>
</body>

Both on 2 different servers. 1 running PHP version 5.0.4 and the other
running 4.4.3.

Both work fine until tested with a user on an AOL ISP. The one under
4.4.3 works perfectly but the one under 5.0.4 fails and the session is
not carried accross to the new page.

Any one have any clues why this would happen. Whats the changes/
diferences between 4.4.3 and 5.0.4 that could effect this?

Many Thanks

Mike

 

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

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