[curlopt_cookiesession] is used together with [curl->set]. The parameter expected by [curl->set] is an integer that will be used to mark this a new cookie "session". It will force the curl library to ignore all cookies it is about to load that are "session cookies" from the previous session. By default, the curl library always stores and loads all cookies, independent if they are session cookies or not. Session cookies are cookies without expiry date and they are meant to be alive and existing for this "session" only.
curlopt_cookiesession
Code
local(c = curl('www.example.com/login'))
#c->set(curlopt_cookiesession, 1)
#c->result
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments