You are here: i am going nuts = new session id just will not work « PHP Programming Language « IT news, forums, messages
i am going nuts = new session id just will not work

Posted by windandwaves on 01/08/06 13:42

Hi

I have the following file:

--myfile.php
<?php
if($s) {
echo $s;
session_id($s);
session_start;
echo 'your account has been loaded, <a
href="index.php?PHPSESSID='.session_id().'">continue</a>.';
}
?>

I run it like this: myfile.php?s=abc

It does not matter how many times I load it, whenever I load my test file:

---test.php
<?php
session_start();
echo session_id()
?>

The same old session ID comes back (definitely not abc or any other
parameter that I pass using s). Having said that, in the link to index.php,
it provides the new session ID, but as soon as I reload the page, we are
back to normal.

The ONLY way to delete this old session ID is to delete the cookie from my
computer.

What am I doing wrong. It is driving me nuts!

TIA

- Nicolaas

 

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

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