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
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 -
>(the code on the second page follows)
>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.