Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

PBAddCookie (Obsolete) – PB Docs 2021 – PowerBuilder Library

PBAddCookie (Obsolete) – PB Docs 2021

PBAddCookie (Obsolete)

Description

Adds a cookie to the Web service proxy object that will be sent to
the server each time you call a Web service method.

Syntax

Argument

Description

proxyObj

The proxy object that you deploy from a Web Service Proxy
project

acookie

An any containing information about the cookie you want to
add

Return value

None.

Usage

If there is already a cookie with the same name and URI that you set
in the acookie argument, you will replace the existing cookie when you
invoke a Web service method. For the types of information you can include
in the acookie argument, see the methods of the SoapPBCookie class in
SoapPBCookie.

The SoapPBCookie class is defined in the pbwsclient.pbx extension
that you can import into your application library. It is valid for .NET
Web services engine only.

Examples

The following example adds a cookie named myCookie that is sent to
the server after you connect to a Web service from an objProxy proxy
client:

See also

PBGetCookies


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x