[cgiapp] Re: Help with CGI::Application::Plugin::HTMLPrototype

2006-05-22 Thread Robert Hicks
Cees Hek wrote: On 5/21/06, Prakash Inuganti -X (pinugant - Digital-X, Inc. at Cisco) [EMAIL PROTECTED] wrote: Yes, you are correct. Thanks. I already have a full blown Application developed using CAP and H::T. So using Template Toolkit right now is not an option for me. Now I am adding a page

Re: [cgiapp] Re: Help with CGI::Application::Plugin::HTMLPrototype

2006-05-22 Thread Cees Hek
On 5/22/06, Robert Hicks [EMAIL PROTECTED] wrote: In looking at your source there (cool by the way) a question came to mind. The template is stored in the __DATA__ section. Is that your standard practice? Is it only because it is one page/template or does the Ajax integration need it that way?

[cgiapp] CGI::Application::Plugin::Authentication. How to log a user in after prerun?

2006-05-22 Thread Simon Rees
Hi I'm using CGI::Application::Plugin::Authentication in my web application and have found it useful but I'm stuck on a good way to implement some functionality I need. After a user has submitted their registration details I need to Authenticate them straight away. The registration form

Re: [cgiapp] CGI::Application::Plugin::Authentication. How to log a user in after prerun?

2006-05-22 Thread Cees Hek
On 5/22/06, Simon Rees [EMAIL PROTECTED] wrote: I'm using CGI::Application::Plugin::Authentication in my web application and have found it useful but I'm stuck on a good way to implement some functionality I need. After a user has submitted their registration details I need to Authenticate them

Re: [cgiapp] CGI::Application::Plugin::Authentication. How to log a user in after prerun?

2006-05-22 Thread Giannis Economou
I'm doing the following now, have you tried it? Inside the runmode I want the login to happen: sub another_runmode { ... $self-query-param( -name = 'auth_usr_uname', value = $uname); $self-query-param( -name = 'auth_usr_passwd', value = $passwd); $self-authen-initialize; ...