On Tue Oct 12 18:23:09 2010, ikegami wrote:
Show quoted text> Sorry, we are. It's not documented as being deprecated. What's wrong
> with it?
>
> We use it purely to get the session id from a form field for some of our
> requests:
>
> sub auto :Private {
> my ($self, $c) = @_;
> if (my $session_id = delete($c->req->params->{sid})) {
> $c->stash->{_session}{id} = $session_id;
> }
>
> return 1;
> }
>
> The plugin isn't used to communicate the session id to the user.
>
> $c->stash({
> current_view => 'XML',
> response_type => '...',
> session_id => $c->sessionid,
> ...
> });
>
> - Eric
If it's actually useful to you, by all means please feel free to use it.
I wrote this during a period when I was playing with stateful web
services, which I later decided were a very bad idea, hence why I
disrecommend its use, but if it's useful for your project/business, go mad.
I had thought I'd put a big deprecated/not-maintained notice on it, but
apparently I haven't, so sorry for the confusion there.
As you have provided a patch, I've merged it into the git tree (
http://github.com/jjl/Catalyst--Plugin--Session--State--Stash , which
works with more recent catalysts as well). I don't use this module
myself anymore. Would you like a MAINT bit on PAUSE for it?
--James