OpenSpeech Browser

Getting Started
Architecture Description
Integration Guide

Copyright (c) 1998-2001 SpeechWorks International, Inc. All Rights Reserved.



VXIinetResult SetCookieJar

(struct VXIinetInterface* pThis,
  const VXIVector* jar)

Set the cookie jar
The cookie jar is used to provide cookies and store cookies during future VXIinet Prefetch( ) and Open( ) operations. Expired cookies within the jar will not be used. Each time this is called the prior cookie jar is discarded, the caller is responsible for persistent storage of the cookie jar if desired. See GetCookieJar( ) for details.

If SetCookieJar( ) is never called, or if it is called with a NULL jar, the VXIinet implementation will refuse to accept cookies for fetches.

Parameters:
jar - [IN] Cookie jar, specified as a VXIVector (see the description of the cookie jar structure above). Pass NULL to refuse all cookies. Pass an empty VXIVector to accept new cookies starting with an empty jar. Pass a non-empty VXIVector as returned by GetCookieJar( ) to implement persist cookies across multiple user sessions (telephone calls).
Returns:
VXIinet_RESULT_SUCCESS on success

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.