Posted by Chung Leong on 02/25/06 03:56
John Howie wrote:
> This worked all well and fine locally, and on one other server.
> Recently I moved server and since then the whole authentication process
> has been behaving unusually. Sometimes (when logged in) you are taken
> to the error page, but your username is still displayed in the menu.
> Clicking the link a few more times and eventually the page will display
> correctly.
Unusual indeed. There has got to be some problems with the server set
up. One thing to try is to change session.save_path with ini_set() to a
subdir in your user directory (chmod'ed to 0777) before calling
session_start(). That way, your session data is saved in a more
controlled area. As you browse through your site, monitor the session
files either through telnet or FTP. That should give you some insights.
[Back to original message]
|