Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

IWriteCookie::put_Expires

The IWriteCookie::put_Expires method sets the Expires attribute of the write-only Cookies collection to the specified value.

HRESULT put_Expires(

DATE dtExpires

);

Parameters: IWriteCookie::put_Expires

dtExpires

A date that contains the new expiration value.

Remarks: IWriteCookie::put_Expires

This date must be set in order for the cookie to be maintained after the session ends. If this attribute is not set to a date beyond the current date, the cookie will expire when the session ends.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.