PATH  WebObjects 4.0 Documentation > What's New in WebObjects 4.0

Table of Contents Previous Section

Cookie API

The WebObjects Framework contains new classes and methods that allow you to use cookies more easily:

A WOCookie object defines a cookie that can be added to the HTTP header for your response. You create a cookie using one of two methods:
WOCookie Creation Methods
Method
cookieWithName:value: (Objective-C) cookieWithName(String, String) (Java)
cookieWithName:value:path:domain:expires:isSecure: (Objective-C) cookieWithName(String, String, String, String, NSDate, boolean) (Java)

Table of Contents Next Section