On 10/6/05, Dave Rolsky <autarch@xxxxxxxx> wrote:
> So it looks like Rose::URI does what I want
Really? I thought you wanted a factory that produced URI(.pm) objects
specifically? Well, anyway, I added a way to set the default query param
separator last night (0.021), which you might find handy. And if you don't
like the name, you can always subclass:
package My::URI;
use base qw(Rose::URI);
__PACKAGE__->default_query_param_separator(';');
1;
Anyway...
> It provides a simple API for storing messages (errors and non-errors) and
> query/form data in the session (basically to help repopulate a form after
> a redirect on an error).
>
> It uses Apache::Session::Wrapper to create the session and then has a very
> simple API like this:
What format is the form_data()? Is it really specific to "forms" or would
any old hash be fine?
> It's also worth noting that it is not actually web application specific
> since Apache::Session (and Apache::Session::Wrapper) despite the name are
> not mod_perl only.
But since you're wrapping (and exposing, through session()) Apache::Session,
and since it uses the Apache:: namespace, I think you kind of have to as
well.
Apache::Session::MessageManager
Apache::Session::Form::MessageManager
Not great. What are other session wrappers named like?
-John
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|