PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Outdated documentation *web/cookie  (Read 1497 times)

Christian.lanctot@jonas

  • Member
  • **
  • Posts: 10
    • View Profile
Outdated documentation *web/cookie
« on: September 20, 2018, 12:39:25 PM »
Quote
Format 2:  CALL "*web/cookie;SET",name$,data$,path$,expires$,domain$

Use Format 2 to create and send a cookie. Your CALL should include five arguments:

name$ Name of the cookie
data$ Data to send to the browser
path$ Your file path criteria for matching the URL's path
expires$ Cookie's expiry date and/or time
domain$ Domain name of your web site

You can also set a sixth parameter to make sure the TCP connection is secure.

Well, as it turns out, the secure is required or else you get an error 36.

« Last Edit: September 24, 2018, 10:40:55 AM by Christian.lanctot@jonas »

Mike King

  • Diamond Member
  • *****
  • Posts: 3810
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: Outdated documentation *web/cookie
« Reply #1 on: September 21, 2018, 05:34:50 PM »
Thank you for bringing this to our attention. 

We will have the documentation updated and the program adjusted to make the secure parameter optional in the next update.
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com