--- Gordon Haverland <ghaverla at materialisations.com> wrote:
> From some readings in the PHP world talking about cookies and
> session variables, I am expecting that something to do with
> cookies needs to get called early on with Maypole as well. Is
> this the case, or does something else happen? From what I have
> read, cookies never even get tickled until an authorisation is
> required. So, I am wondering how these fit into things.
>
Maypole doesn't use any cookies at all. It really just provides a convenient
place, the authenticate sub, for you to use them to authenticate and checks
there automatically to see if a user gets authenticated (ie it calls the
authenticate sub early in every request) . By default authenticate just
returns OK so you app is wide open.
Maypole::Plugin:Authentication::UserSessionCookie is a good user session
system for maypole.
That's all i can help you with. One more thing, maypole-test.pl that Dave wrote
uses Maypole::CLI and works great in VI with the perl debugger. Why not use it
like that? Also, i had to disable my authentication to get it to run thru
(just made it return OK again) but don't know why.
HTH
=====
pjs
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com
_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole
This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT