[pmwiki-devel] session_start problem
gmane at auxbuss.com
Thu Dec 7 09:31:04 CST 2006
Patrick R. Michaud said...
> On Wed, Dec 06, 2006 at 06:30:05PM -0000, marc wrote:
> > After adding @ to all session_starts, I have been able to move the
> > recipe include after authuser, which, although not necessary, probably
> > proves the point. I have a new rule :-)
> Cool, I'm glad you confirmed the diagnosis and solution. Thanks.
I think I've finally got to the bottom of the login and AWOL session
variable issue. But I need a final tweak.
I have a login form in the sidebar - just username and password. The
form (until today) started:
(:input form id=login :)
This works fine except for the bizarre missing session variable problem
(which I can circumvent by moving the appropriate recipe include before
authuser.php in farmconfig.php).
By changing the above line to:
(:input form "?action=login" id=login :)
the missing session variable problem goes away. However, when I make
this change, whenever an invalid login occurs, authform is opened in
wikitext. I don't want this, as the error messages displays in the
sidebar form, which is sufficient.
How do I stop authform from displaying when a login failure occurs?
Alternatively, is there a better solution to using "?action=login"?
More information about the pmwiki-devel