[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cgiapp] CAP::Apache and CAP::Session


Hi Cees -- 

> Good to hear from you again.  We've missed your input here in the last
> little while.

Lol... You guys seemed to have everything so well in hand, I didn't want
to mess it up!


> The part I was planning to alter was the creation of a new cookie. 
> This only currently uses $self->query since it is convenient, but it
> could easily use CGI::Cookie directly without breaking encapsulation. 
> All that really needs to be done is for this to send a valid formated
> cookie string to the header_add method, so it doesn't really matter
> how the string is built.

I get what you're saying, but if its really that simple then Michael can
write his own cookie() method.

I'm imagining that one day someone might want to create a CGI.pm
work-alike for WAP or something which has a different format for
cookies.  This would keep it simple.


> The section that looks for the current session ID in the cookies
> and/or GET/POST params will still have to use the $self->query->cookie
> and $self->query->param methods, since as you mention that would be
> the expected behaviour.

Sounds like we need Michael's cookie() method anyway, right?


TTYL,

-Jesse-


--

  Jesse Erlbaum
  The Erlbaum Group
  suppressed
  Phone: 212-684-6161
  Fax: 212-684-6226



---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.