httpfilters/cookie/ManagerSrc/Cookie.cpp
branchRCL_3
changeset 11 8f055b80aa5b
parent 8 73e95e652591
child 15 bdd8a827a7de
equal deleted inserted replaced
9:9015645363c8 11:8f055b80aa5b
   529 
   529 
   530 	if ( aCopyFrom.Attribute( EExpires, attributevalue, defaulted ) != KErrNotFound )
   530 	if ( aCopyFrom.Attribute( EExpires, attributevalue, defaulted ) != KErrNotFound )
   531         {
   531         {
   532         SetAttribute( EExpires, attributevalue, defaulted );
   532         SetAttribute( EExpires, attributevalue, defaulted );
   533         }
   533         }
       
   534 		
       
   535 	TTime nowTime;
       
   536     nowTime.UniversalTime();
       
   537     TDateTime attrTime = nowTime.DateTime();
       
   538     THTTPHdrVal attributeVal( attrTime );
       
   539     SetAttribute( EDate, attributeVal, defaulted );
   534 
   540 
   535     //SetCookie2( aCopyFrom.FromCookie2() );
   541     //SetCookie2( aCopyFrom.FromCookie2() );
   536     // Other properties
   542     // Other properties
   537     iSetCookie2 = aCopyFrom.iSetCookie2;
   543     iSetCookie2 = aCopyFrom.iSetCookie2;
   538     iNetscape = aCopyFrom.iNetscape;
   544     iNetscape = aCopyFrom.iNetscape;