From: Chris W. <la...@us...> - 2004-11-28 06:50:28
|
Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6496/OpenInteract2 Modified Files: Cookie.pm Log Message: cosmetic Index: Cookie.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Cookie.pm,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** Cookie.pm 17 Feb 2004 04:30:13 -0000 1.10 --- Cookie.pm 28 Nov 2004 06:03:58 -0000 1.11 *************** *** 58,72 **** # Create a new cookie and add it to the response manually ! my $cookie = OpenInteract2::Cookie->create({ name => 'session_id', ! value => $session->id, ! expires => '+3M' }); $response->add_cookie( $cookie ); # Create the cookie and add it to the response automatically ! OpenInteract2::Cookie->create({ name => 'session_id', ! value => $session->id, ! expires => '+3M', ! HEADER => 'yes' }); # Expire a cookie named 'comment_memory' --- 58,76 ---- # Create a new cookie and add it to the response manually ! my $cookie = OpenInteract2::Cookie->create({ ! name => 'session_id', ! value => $session->id, ! expires => '+3M' ! }); $response->add_cookie( $cookie ); # Create the cookie and add it to the response automatically ! OpenInteract2::Cookie->create({ ! name => 'session_id', ! value => $session->id, ! expires => '+3M', ! HEADER => 'yes', ! }); # Expire a cookie named 'comment_memory' *************** *** 133,136 **** --- 137,142 ---- outbound response automatically. Otherwise you need to do so manually. + TODO: should this be the default? + =back *************** *** 142,153 **** browser to clear out any cookies under this name. - =head1 BUGS - - None known. - - =head1 TO DO - - Nothing known. - =head1 SEE ALSO --- 148,151 ---- |