Marcello am Donnerstag, 3. November 2005 15.57:
> John Doe ha scritto:
> > Dear list members
> >
[...]
> > Some of the tasks always to be solved in an interactive webapp:
> >
> > a) validate/sanitize user input

Hi Marcello,

Thanks much for your answer to my unclear question.

> Data::FormValidator can be a little daunting at first, but it's very
> powerful and flexible. After some use it becomes your best friend ;-)

Great module, but it's overkill for my purposes...

> > b) differentiate between persistent parameter values and "volatile" ones
> > (the latter meaning a value only used along one request/answer)
>
> You're talking about session values and request values.
> I think you should a search for 'Session' on search.cpan.org and try out
> some modules, especially those in the Apache:: namespace.

Finally, I wrote a first Version of Apache::Request::Restricted (bad name, 
internal use only :-), using Apache::Session for the persistency tasks. 

Request data sanitizing is done with a chain of callbacks. Some specification 
options: if the parameter is persistent, and if a false value updates 
existent session data.

If anybody is interested in commenting, I can post the pod here.

[...]

joe

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to