Hi, everyone,

I'm still slogging away at a login page for my site.  I sent the
attached mail last week but since I clearly forgot to send it to the
list (and since I have doubts that my MTA actually sent it at all), I'm
forwarding it here.  

Ultimately I would like have a more sophisticated login system using
PerForm and ESQL as well A::A::P:session, but first things first.

It seems to me from archived mails that in earlier versions of
A::A::P::Session, AxKitSessionLoginScript was for systems that did not
send cookies before login.  Perhaps that has changed(?)

----- Forwarded message from Streph Treadway <[EMAIL PROTECTED]> -----

> From: Streph Treadway <[EMAIL PROTECTED]>
> To: Joerg Walter <[EMAIL PROTECTED]>
> Subject: Re: Apache::AxKit::Plugin::Session Problem
> 
> On Sat, Jan 03, 2004 at 03:47:53PM +0100, Joerg Walter wrote:
> > On Saturday, 03. January 2004 03:14, Matthew Smith wrote:
> > > You need to have the redirect thing.  I haven't fully understood how it 
> > > works but the redirect causes a second request or something like that 
> > > which allows the plugin to run.
> > > 
> > > The correct config directive is
> > > 
> > > PerlInitHandler Apache::RequestNotes
> > 
> > The cvs version (http://cvs.garni.ch) has no dependency on RequestNotes 
> > anymore.
> 
> Excellent,
> 
> With the cvs version, I am able to set cookies and create
> sessions.  There only appears to be one problem.
> 
> If I set PerlSetVar AxKitSessionLoginScript /login.xsp, I get the login
> page when I request the protected directory.  I'm still using the example from
> http://www.axkit.org/wiki/view/AxKit/ApacheAxKitPluginSession# .
> I did not find a new example login script in the cvs version.
> Attempts to login result in the login page being redisplayed.  No session is 
> created, and I set a no_session_provided cookie.
> 
> If I do not set AxKitSessionLoginScript, I get a server error:
> 
> [Sat Jan  3 15:55:43 2004] [error] =======
> authenticate(Apache::AxKit::Plugin::Session,Apache=SCALAR(0x8244974))
> [Sat Jan  3 15:55:43 2004] [error] auth_name= 'AxKitSession'
> [Sat Jan  3 15:55:43 2004] [error] ======= key()
> [Sat Jan  3 15:55:43 2004] [error] - session referer: 
> [Sat Jan  3 15:55:43 2004] [error] session provided  = ''
> [Sat Jan  3 15:55:43 2004] [error] requested uri = '/protected/'
> [Sat Jan  3 15:55:43 2004] [error] LoginScript=NONE - calling login()
> [Sat Jan  3 15:55:43 2004] [error] ---------
> save_params(Apache::AxKit::Plugin::Session,/protected/)
> [Sat Jan  3 15:55:43 2004] [error] =======
> save_params(Apache::AxKit::Plugin::Session,/protected/)
> [Sat Jan  3 15:55:43 2004] [error] Can't locate object method "instance"
> via package "Apache::Request" (perhaps you forgot to load
> "Apache::Request"?) at
> /usr/local/share/perl/5.8.2/Apache/AxKit/Plugin/Session.pm line 167.
> 
> 
> 
> Yours,
> 
> Streph

----- End forwarded message -----

-- 
Streph Treadway -- A disappointment on so many levels.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to