getItem

The getItem method of the Cookie class returns a particular item from a Cookie object.

public String getItem(String itemName);

Example

The following example retrieves the Fname item from a cookie called cookCust.

String FName = cookCust.getItem(“Fname”);  

© 1999 Microsoft Corporation. All rights reserved. Terms of use.