[cgiapp] designing a mixed open/protected application

Stewart Heckenberg stewart.heckenberg at gmail.com
Thu Jun 4 20:48:17 EDT 2009


Hi Puneet,

> Now, re. the authen mechanism. I tried Cees Hek’s
> Plugin::Authentication and found it very easy to implement. However, I
> am still thinking of rolling my own because I want to extend the
> authentication mechanism to store extra values as user preferences,
> and Plugin::Authentication seems to have sufficiently complicated
> innards to dissuade me from opening it up and trying to understand it.
> Nevertheless, I have two questions --

Not to sound overly rude, but this is a case of "you're doing it
wrong" -- Cees Hek's Auth plugin does exactly what it should:
authentication. Check out the Session plugin for cgiapp for a way to
pass/store user preferences within your application.

Kind regards,
Stew


More information about the cgiapp mailing list