|
|
.oO(Murray *ACE*)
BTW: With the "Full URL please." from my first reply I just meant the
Location header - the HTTP spec requires a full URL there. But that's
just a side note.
>I'm not sure where to look for those, but a quick perusal doesn't find
>them....
>
>http://76.12.89.239/info.php
Down in the 'session' section:
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0
This means that PHP will try to set a cookie. If the browser accepts it,
the session should work. But if you reject the cookie, the session won't
work. TransSID is disabled, so PHP will not automatically append the SID
to your links.
>Curiously, I have these two pages -
>
>http://76.12.89.239/test2-session1.php
>http://76.12.89.239/test2-session2.php
>
>(the code on the second page follows)
>[snipped]
>
>And those two pages work!
Hmm, not exactly. If I enter something, it's submitted to the second
page and shown there. The second page also wants to set the session
cookie, which I accept. But - if I now reload the second page without
submitting the POST data again, the session seems to be lost again,
while instead it should show my name again.
David gave a good hint. See if you get an error message somewhere.
Micha
|
|