The mgiSetCookie TagTag BehaviorThe mgiSetCookie tag is used to set a cookie with a specified value. Tag SyntaxThe mgiSetCookie tag has a beginning tag with one required parameter and 3 optional parameters, a body, and an ending tag. The tag form is: <mgiSetCookie name="Name" expireDate="Date" expireTime="Time" useEncryption="Yes/No"> Cookie Value </mgiSetCookie> Required Parameters:
Optional Parameters:
Tag Body:
Example Usage and Output<mgiSetCookie name="Name" expireDate="10-31-99" expireTime="00:01"> <mgiFieldContent name="FirstName"> <mgiFieldContent name="LastName"> </mgiSetCookie> Used in conjunction with a form submission and mgiFieldContent tags, the mgiSetCookie in this example would set a Cookie with the first and last name entered by the visitor. The cookie would not be encrypted. Suggested Usage
|
[Return to the Referencing MGI Menu]
[User Guide Main Menu] [Understanding MGI Menu] [Using MGI Menu] [Referencing MGI Menu]