Jean-Marc Pennel wrote:
> 
> Hi,
> 
> I suggest the addition of a new virtual method call in the run sub.
> 
> The &finish virtual method is called at the end of each run mode,
> but before setting up HTTP headers.
> 
> I use this method to set a session cookie after each run mode.

Jean-Marc,

I believe it's already possible to set a cookie after each run mode,
although I haven't tested this. 

In the setup() routine, you could call
$self->header_props(
        -cookie=>$cookie
);

And then if things work as I expect, this cookie will appear in every
header that CGI::App sends. 

  -mark

http://mark.stosberg.com/

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to