I thought it would write the session twice, the second time (once in the input box and once out, but it doesn't write it at all.
I'm in php5.3 by the way.
i only quickly looked at it. what exactly are you trying to do. from the look of it your not setting your session variables to be anything at the start
This is just a simplified example of what's not working.
These are my two session variables:
$_SESSION['crtnr']=1;
$_SESSION['info'][$_SESSION['crtnr']]='hi there';
I'll explain:
First i have an input box and a submit button. The input box says 'hi there'.
I press the submit button and the input box should continue to say 'hi there' and there should also be another 'hi there' But now the 'happy?' is written, but the session is not.
Which proves that the post worked but the session is lost.
I tried it on another website I have http://papagalii.ro/file1.php - and it works there.
The webhost company of the site where it doesn't work says that it must work - some answer!
I found out both sites are 5.2.17 actually.
OK the problem has been solved. The webhost company explained that until the site is completely moved it will keep doing that.
Last edited by arrowthesparrow; 10-23-2012 at 02:51 AM.
Bookmarks