Anyone, pretty please? Andre, Stephen?
I just do not get it.
I have a login form now and that one calls a liveCode script to validate the
user and start a session:
?lc
local thePostData,tBenuzer,tPasswort,tDisplayForm
put $_POST_RAW into thePostData
replace with cr in thePostData
put
revolut...@derbrill.de wrote:
From: Malte Brill revolut...@derbrill.de
Subject: Re: Session strategies for liveCode server
To: use-livecode@lists.runrev.com
Date: Thursday, January 19, 2012, 9:02 AM
Anyone, pretty please? Andre, Stephen?
I just do not get it.
I have a login form now and that one
'];
?
html
body
?php
//retrieve session data
echo Pageviews=. $_SESSION['views'];
?
/body
/html
--- On Thu, 1/19/12, Malte Brill revolut...@derbrill.de wrote:
From: Malte Brill revolut...@derbrill.de
Subject: Re: Session strategies for liveCode server
Michael,
thanks for getting back!
I am afraid I do not have it working yet. :-(
I now tried this:
?lc
if $_SESSION[counter] is empty then
set the sessionid to 1
start session
add 1 to $_SESSION[counter]
put No previous session detected. Session counter= $_SESSION[counter]
else
add 1
Thanks to sturgis from the forums I got it working now. The missing link was
that the session needs to be stopped before the script terminates. This is a
working example:
?lc
set the sessionid to 100
start session
if $_SESSION[counter] is empty then
add 1 to $_SESSION[counter]
put No
Thank you all for the feedback.
This is on a LAN and I will be able to use the 5.x engine there, so it seems
$_session will be my friend. Will need to put a little work into it.
Alex, facebook authentication sounds interesting, however, will not be
something I can do for this project. for
to the On-rev Server or updates to the on-rev editor
etc. I have tried to post a few things and respond to posts when I can but
not many people use the forum.
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Session-strategies-for-liveCode-server
Hi Malte,
Encoded data inside cookies + SQL stored sessions works well there. This two
parts design is more secure than cookies or hidden without any SQL part in the
process.
Best,
Le 14 janv. 2012 à 23:02, Malte Brill a écrit :
Hi all (and especially those using server)
I would like to
Hi Malte,
I use PHP, where you can define a session with session_start() and save info in
the $_SESSION variable. PHP's session feature is really awesome (but I don't
think regular PHP programmer realise how awesome it really is). I would expect
Rev Server to have exactly the same feature. If
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
Session Variables are available in the latest version of Livecode Server.
(5)
On 14 January 2012 14:12, Pierre Sahores s...@sahores-conseil.com wrote:
Hi Malte,
Encoded data inside cookies + SQL stored sessions works well there. This
two parts design is more secure than cookies or hidden
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 registered and tried to download but could never get it
to verify my account when I would try to login.
-=JB=-
On Jan 14, 2012, at 4:10 PM, Alex Tweedly wrote:
The example from splash21 works well for login/registration, etc. - but it
was written for revserver pre-5.0, so he does his own
where is this session cookie handling documented?
On 15.01.2012, at 01:51, -=JB=- wrote:
After checking my email I see a email to activate
the account and it works now.
-=JB=-
On Jan 14, 2012, at 4:10 PM, Alex Tweedly wrote:
The example from splash21 works well for
In the notes that come with the 5.0 version. But you combined the two
concepts.
$_SESSION is an server global array in ram, not a cookie.
sqb
2012/1/14 Björnke von Gierke b...@mac.com
where is this session cookie handling documented?
On 15.01.2012, at 01:51, -=JB=- wrote:
After checking
BvG,
http://www.runrev.com/downloads/livecode/5_0_0/How_do_I_use_Sessions_on_LiveCode_Server.pdf
=)
2012/1/14 Björnke von Gierke b...@mac.com:
where is this session cookie handling documented?
On 15.01.2012, at 01:51, -=JB=- wrote:
After checking my email I see a email to activate
the
I'm on on-rev. so for me there's no place to go for documentation at all, and
altho there is a pdf that contains most stuff, it's usually out of date,
unattainable or gets otherwise forgotten by RunRev. i'll mail them when i ever
really need this, but i wish they'd put more effort on quality
17 matches
Mail list logo