I am trying to use Apache::AxKit::Plugin::Session to manage sessions.  I
currently want to use the recognize_user feature this module has, so I
haven't looked at other Session managers.  I have the following entry in my
conf file:

<Location />
    Options -All +Indexes +FollowSymLinks
    DirectoryIndex index.html index.xsp index.xml

    AuthType Apache::AxKit::Plugin::Session
    AuthName AxKitSession

    PerlSetVar AxKitSessionLoginScript  /login.xsp
    PerlSetVar AxKitSessionManager      Apache::Session::File

    PerlSetVar AxKitSessionDir
/usr/local/web/Development/snark/system/session
    PerlSetVar AxKitSessionDomain       snark.foo.com

    # Set Expire on Server
    PerlSetVar AxKitSessionExpire 30

    # Set Expire in Cookie 
    PerlSetVar AxKitSessionExpires +1d

    # Verbose Session Debugging
    #PerlSetVar AuthCookieURLDebug 10

    PerlInitHandler     Apache::RequestNotes
    PerlAuthenHandler   Core::User::Session->authenticate
    PerlAuthzHandler    Core::User::Session->authorize
    PerlFixupHandler    Core::User::Session->recognize_user

</Location>

What happens is that after 30 minutes, the user is logged off, but they
cannot log back in.  Now, if I change the "AxKitSessionExpires" value above
to "+10m" it seems to work right.  I wonder why both variables
"AxKitSessionExpire" and "AxKitSessionExpires" exist, if there is every a
case where AxKitSessionExpire should properly be set smaller than
AxKitSessionExpires, and why the module doesn't check that
AxKitSessionExpire < AxKitSessionExpires and throw a warning????

-- Jeff



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

Reply via email to