1. Rajagopal VV
  2. PowerBuilder
  3. Wednesday, 16 November 2022 22:54 PM UTC

We are using PB2021 and wanted to set/send Anonymousaccess = True; How do I have to achieve that? Any help is appreciated.

I saw some code setting value to the property & following is the cut and paste from the article 

https://docs.appeon.com/pb2022/objects_and_controls/AnonymousAccess.html

ln_rtn = l_httpclient.SendRequest("GET", "https://test.appeon.com")

If ln_rtn = -16 Then l_httpclient.anonymousAccess = true;

l_httpclient.SendRequest("GET", "https://test.appeon.com") End If


How do I have to achieve the same using PB2021 because AnonymousAccess property is no longer available for HTTPCLIENT in PB2021

John Fauss Accepted Answer Pending Moderation
  1. Thursday, 17 November 2022 01:33 AM UTC
  2. PowerBuilder
  3. # 1

It appears this property of the HTTPClient object was added to PB in version 2022. It looks you will need to migrate to PB 2022 in order to utilize it.

Comment
  1. Francisco Martinez @Appeon
  2. Thursday, 17 November 2022 14:15 PM UTC
As a bonus, here's the page where this is documented as a new feature: https://docs.appeon.com/pb/whats_new/Supports_two-way_SSL_authentication.html
  1. Helpful 3
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.