Revigniter Sessions

Alex Tweedly alex at tweedly.net
Fri Dec 15 18:57:26 EST 2017


Hold on - you guys are getting confused - or maybe you're just getting 
me confused :-) :-)


On the server side, Tom wants to use revIgniter session support - that 
should be just fine. revIgniter (or indeed LC Server) doesn't know, or 
care, if you are using a standard browser, a revBrowser inside an LC 
app, or just get/put URLs from an LC app.


On the client side, Tom (I think) wants to use an LC App - not sure 
whether he wants a revbroswer, or if he just wants to do "get URL" etc.

If it is the former (i.e. revBrowser) then I have no clue :-)

If it is "just" an LC app, then everything is fine - so long as the app 
handles cookies, and session cookies, just like a browser would. 
Therefore, when you retrieve a URL from the site, you should check the 
headers - using libURLLastRHeaders() - to see what cookies are being 
set; and when you make subsequent requests you need to set that 
cookie/value in the http headers you are sending.

see http://lists.runrev.com/pipermail/use-livecode/2008-July/112454.html 
for a brief description.

There ought to be a library to help, but I couldn't find one.

Alex.


On 15/12/2017 15:42, Tom Glod via use-livecode wrote:
> Thanks Bob, thats what I suspected as well....I guess I have to create my
> own session handler, or maybe I can still user rev-igniter's session
> handling via database only and ignore the cookie....we shall see.
>
> On Fri, Dec 15, 2017 at 10:33 AM, Bob Sneidar via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
>> If the LC browser doesn't support cookies, probably nowhere. Session
>> cookies are kept in memory, and therefore likely inaccessible.
>>
>> Bob S
>>
>>
>>> On Dec 15, 2017, at 07:29 , Tom Glod via use-livecode <
>> use-livecode at lists.runrev.com> wrote:
>>> Hi everyone, this may be a dumb question.....but
>>>
>>> When I download a URL (from inside LC Standalone), which is a (LC Server
>>> Page) that generates a cookie, where does the cookie get saved?  Is it
>>> accessible to me?
>>> I'm working on integrating LC Standalone with a Postgress DB via LC
>>> Server.  I'd like to have session control, but the Revigniter
>> Documentation
>>> just assumes that the person is browsing the site using a regular
>> browser.
>>> I'd like to download database query results straight from my standalone.
>>>
>>> Hope my question makes sense
>>>
>>> Thanks
>>>
>>> Tom
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list