Dear LC Server Gurus,

Is there a tutorial anywhere that explains *exactly* how to use SESSIONS with 
LiveCode Server?

I found a lesson on *cookies*, here:

How do I use Cookies on LiveCode Server? | How To …

This is good info, but only useful if I were going to implement my OWN session 
management and storage layer. Going through the Dictionary, I found entries for 
“$_SESSION”, as well as a bundle of session-related commands and properties, 
like “start session”, “stop session”, “delete session”, “sessionID”, 
“sessionName”, etc. These seem to indicate that LC Server already has session 
handling capabilities baked-in.

Unfortunately, the information in the Dictionary about how to use sessions is 
scant and disconnected, and it’s hard to build a complete picture of how the 
session workflow should go - and how and when all those commands fit in with 
each other.

To make matters worse, googling “livecode server sessions” yields the following 
document:

How do I use Sessions on LiveCode Server?

This seems to be a (hopefully) outdated guide - it talks about LiveCode Server 
5. It paints a rather discouraging picture of how sessions worked then - ie., 
there are many caveats, including having to use ‘start session’ at the 
beginning of any page that uses $_SESSION, before any headers are sent from the 
server… I’m certain that the implementation of all of this would have changed 
by now, as the Dictionary makes no mention of any of these issues...

Is there a current step-by-step guide anywhere? Any pointers would be greatly 
appreciated.

Kind regards to all,


--
Igor Couto
Sydney, Australia

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to