comparison Lib/IMPL/Web/Application/Response.pm @ 95:67eb8eaec3d4

Added a security authority property to the Context and Security classes Added a WriteResponse method to the SecureCookie class Added a setCookie method to the Response class
author wizard
date Thu, 29 Apr 2010 02:21:27 +0400
parents 9f5795a10939
children 964587c5183c
comparison
equal deleted inserted replaced
94:79bf75223afe 95:67eb8eaec3d4
108 108
109 print $hOut $this->query->header( 109 print $hOut $this->query->header(
110 %opt 110 %opt
111 ); 111 );
112 } 112 }
113 }
114
115 sub setCookie {
116 my ($this,$name,$value) = @_;
117
118 unless ($this->cookies) {
119 $this->cookies({$name,$value});
120 } else {
121 $this->_checkHeaderPrinted();
122 $this->cookies->{$name} = $value;
123 }
124 return $value;
113 } 125 }
114 126
115 sub getStreamBody { 127 sub getStreamBody {
116 my ($this) = @_; 128 my ($this) = @_;
117 129