From: Carsten K. <car...@ma...> - 2001-12-08 00:46:44
|
For some reason I can't ever seem to stay logged in as the administrator, or even as a regular "bogus" user. After editing one page, the next page I edit says I will be logged as [my ip address]. I have to click back and Sign in, then edit all over again. The http authentication screen also shows something strange, domain "phpwiki000". Each time I am asked to sign in the digits increment by one, this defeats any saved passwords in my browser. Is the authentication code still in flux, or do you think it's a problem with my browser? (OmniWeb 4.1sp11) Carsten |
From: Jeff D. <da...@da...> - 2001-12-08 01:42:35
|
On Fri, 7 Dec 2001 19:46:40 -0500 "Carsten Klapp" <car...@ma...> wrote: > For some reason I can't ever seem to stay logged in as the administrator, > or even as a regular "bogus" user. After editing one page, the next page I > edit says I will be logged as [my ip address]. I have to click back and > Sign in, then edit all over again. Where (what wiki) is this? The authentication mechanism relies on PHP4's session support. Data for each session gets saved in its own file somewhere on the httpd server. By default the session state files get put in /tmp. The SourceForge project web server is load-shared accross multiple http servers, each with their own /tmp --- so saving session data in /tmp is no good --- you must configure php so that it saves session is some place that's accessible by all the servers. There's some notes in index.php about this. Look for session.save_path. Guests for dinner. Gotta go. Let me know if this doesn't help. |
From: Carsten K. <car...@ma...> - 2001-12-08 02:32:52
|
It's a problem on the http://phpwiki.sourceforge.net/phpwiki/ server. It used to happen on my own server before today, but is fine now. I had been playing with /tmp permissions so that's probably what it was. Carsten On Friday, December 7, 2001, at 08:42 pm, Jeff Dairiki wrote: > On Fri, 7 Dec 2001 19:46:40 -0500 > "Carsten Klapp" <car...@ma...> wrote: > >> For some reason I can't ever seem to stay logged in as the > administrator, >> or even as a regular "bogus" user. After editing one page, the next page > I >> edit says I will be logged as [my ip address]. I have to click back and >> Sign in, then edit all over again. > > Where (what wiki) is this? > > The authentication mechanism relies on PHP4's session support. > Data for each session gets saved in its own file somewhere on the httpd > server. > By default the session state files get put in /tmp. > The SourceForge project web server is load-shared accross multiple http > servers, > each with their own /tmp --- so saving session data in /tmp is no good --- > you > must configure php so that it saves session is some place that's > accessible by > all the servers. > > There's some notes in index.php about this. Look for session.save_path. > > Guests for dinner. Gotta go. Let me know if this doesn't help. |
From: Jeff D. <da...@da...> - 2001-12-08 06:52:00
|
On Fri, 7 Dec 2001 21:32:48 -0500 "Carsten Klapp" <car...@ma...> wrote: > It's a problem on the http://phpwiki.sourceforge.net/phpwiki/ server. Hmm. It seems to be working for me now. (And has been for the past several days.) I don't think PhpWiki's authentication will work correctly (currently) if your browser doesn't do cookies. Could that be part of the problem in this case? |
From: Carsten K. <car...@ma...> - 2001-12-08 07:00:37
|
There is something wacky with OmniWeb's cookies then, I tried IE and it's keeping me logged in Ok. Thanks, Carsten On Saturday, December 8, 2001, at 01:51 am, Jeff Dairiki wrote: > On Fri, 7 Dec 2001 21:32:48 -0500 > "Carsten Klapp" <car...@ma...> wrote: > >> It's a problem on the http://phpwiki.sourceforge.net/phpwiki/ server. > > Hmm. It seems to be working for me now. (And has been for the past > several days.) > > I don't think PhpWiki's authentication will work correctly (currently) if > your browser doesn't do cookies. Could that be part of the problem in > this case? > |