Re: [Cgi-session-user] [Fwd: Re: CGI Session not support HTTPONLY]
Brought to you by:
sherzodr
From: Mark S. <ma...@su...> - 2009-09-04 13:23:03
|
> > I'dont really remember, but a I'think the code look like this: > > > > sub is_httponly { return defined($_[0]->dataref) ? > > $_[0]->dataref->{_HTTPONLY}: 0 } > > > > sub is_secure { return defined($_[0]->dataref) ? > > $_[0]->dataref->{_SECURE}: 0 } I haven't looked at this closely, but my hope is that there is not a not need for CGI::Session to add two new methods for every attribute that exists in CGI::Cookie. ( Example: httponly() and is_httponly(). ) I would hope there is a design where can do the minimum amount possible in our cookie() method, and pass everything on through to CGI::Cookie. Mark |