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

Using cookies with the Web service client – PB Docs 2018 – PowerBuilder Library

Using cookies with the Web service client – PB Docs 2018

Using
cookies with the Web service client

PowerBuilder provides support for adding and getting cookies when
you use .NET Web services.

When you build a Web service proxy object, PowerBuilder adds
PBAddCookie and PBGetCookies to the list of proxy object functions. You
use the PBAddCookie function to add a cookie to the Web service proxy
object. The cookies that you add must first be defined with methods of the
SoapPBCookie class that is included in the pbwsclient180.pbx
extension.

After you connect to the Web service and add a cookie to the
instantiated Web service proxy object, the cookie will be sent to the
server each time you invoke a Web service method. If there is already a
cookie with the same name and URI as the cookie that you define, you will
replace the existing cookie with the new one.

The PBGetCookies function returns an array of cookies from a URI
that you specify in a function argument.

For information on SoapPBCookie methods for getting and setting
cookie properties, see the section called “SoapPBCookie” in PowerBuilder Extension Reference. For descriptions of the
PBAddCookie and PBGetCookies functions, see the section called “PBAddCookie (Obsolete)” in PowerScript Reference and
the section called “PBGetCookies (Obsolete)” in PowerScript Reference.


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