Session strategies for liveCode server

Alex Tweedly alex at tweedly.net
Sat Jan 14 19:10:03 EST 2012


The example from splash21 works well for login/registration, etc. - but 
it was written for revserver pre-5.0, so he does his own cookie / local 
data to simulate sessions. Easier, if you can, to use the session 
support in 5.0 - but note that on-rev (at least on loki) does not yet 
support 5.0. (I've had an open suport ticket for 3 weeks asking when/if 
they will upgrade).

And of course, unless you have an ssl certificate, you'll finish up 
sending passwords in cleartext; I've switched over to using facebook 
authentication (server-side) to avoid that; if you want a copy of the 
.lc files to do that, just let me know (they need a bit of tidying, 
otherwise I'd just sent them now :-)

-- Alex.

On 14/01/2012 22:17, stephen barncard wrote:
> You can find some use of pw/user schemes  in the examples below
>
> http://splash21.on-rev.com/    - complete CMS written in Livecode
>
> http://www.troz.net/onrev/     -  Sarah  - code for cookies and other
> goodies
>
> http://revigniter.com/     - Ralf Bitter's CMS
>
>
>
>
>
> On 14 January 2012 14:02, Malte Brill<revolution at derbrill.de>  wrote:
>
>> Hi all (and especially those using server)
>>
>> I would like to create a little web based thing using server that will
>> require a login on some of the pages and would really like to have sessions
>> there (until the browser closes, or the user logs out).
>>
>> What would be the best way to handle this? Cookies? Any other ideas? Did
>> anyone write such a thing, without the need of adding heavy weight
>> frameworks?
>>
>> Cheers,
>>
>> Malte
>> _______________________________________________
>> 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