Hi,
I understand that we can get data back from a web page using put url, load url and post to url command.
If using a normal web browser, I can get the web page to return the session variable back.
However using the above commands directly without any browser it is always starting a new session and I'm unable to persist session variable in between separate put, load or post command.
Can any experts please advise.
Regards,
Francis
Session between html url request
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Session between html url request
Is this for desktop or mobile?
If mobile, you're out of luck. Otherwise look up libUrl... and see how you can catch the headers returned, parse the cookies and set headers to include cookies for maintaining the session with the next request. If I wasn't on mobile phone now I would add more refs and links to some threads in this forum, but you should be able to search for some useful things here
If mobile, you're out of luck. Otherwise look up libUrl... and see how you can catch the headers returned, parse the cookies and set headers to include cookies for maintaining the session with the next request. If I wasn't on mobile phone now I would add more refs and links to some threads in this forum, but you should be able to search for some useful things here
Re: Session between html url request
This thread http://forums.livecode.com/viewtopic.php?f=104&t=25226 contains a post with a link to another post with info.
-
- Posts: 15
- Joined: Tue Aug 18, 2015 6:48 am
Re: Session between html url request
Hi SparkOut,
Yes, for my case it is for mobile.
Thanks for your advice and I will have to use alternative way to do it.
Yes, for my case it is for mobile.
Thanks for your advice and I will have to use alternative way to do it.