|
Posted by Norman Peelman on 02/28/06 04:39
"John Howie" <johnhowie85@gmail.com> wrote in message
news:1141055279.339488.125350@v46g2000cwv.googlegroups.com...
> Problem solved! Or at least a workaround. Instead of using sessions I'm
> now using cookies on the client machine, since the data stored isn't
> confidential, or passwords.
>
> It seems to be working perfectly fine now, though I don't know what
> would happen if a user has disabled cookies. That's a huge relief,
> thank you all for your help with this matter, if anyone does work out
> what wasn't working with the sessions I'd be very interested to hear
> it, as I can include it in my write up.
>
> John
>
John,
Just out of curiosity, when you changed servers did you alter any links?
PHP is usually set up to use both cookies and url based session handling.
url based kicks in when cookies are not enabled but only works with fully
qualified links:
1) <a href='http://www.yourserver.com/link.htm'>Link</a> <- will have the
session id appended if cookies are disabled
2) <a href='link.htm'>Link</a> <- will not work as PHP won't add the
session id to a short form link
and make sure that the 'temp' directory is set in php.ini so that PHP knows
where to store the sessions...
Norm
[Back to original message]
|