Scodigo, Inc.

Log In | Register

Cart Items:
0

Looking for sample code for setcookie and setrawcookie probably more to the point

Looking for an example of setting a cookie in FM to connect to a web service. this is what my lasso guy sent me .Set-Cookie:

DLILPC="CHALLENGEPASSWORD"; $Version=1; $Path=/

 

DLILPC="CHALLENGEPASSWORD" is actually derived from the response header after we login from Filemaker

CURLOPT_COOKIE

Micah Woods's picture

Hello Scott,

Take a look here:

http://www.php.net/manual/en/function.curl-setopt.php

If you do a search on the page for "CURLOPT_COOKIE" you'll find numerous examples of how to set cookie(s) to be sent with your request.

Regards,
Micah