Thanks, Andre and Pierre, for sharing your code. Definitely something to study.
Regards,
Gregory
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
Hello everyone,
I want to create a simple login form and was wondering whether we have any
examples of setting and getting cookies. I did find a discussion of this on
the On-Rev forum dated August 2009, but I'm not sure whether there is anything
more recent I should be reading.
Regards,
Gregory,
check out http://hg.andregarzia.com/revspark/src/tip/revspark.inc and check
setCookie and getCookies handlers
Andre
On Tue, Aug 3, 2010 at 4:03 PM, Gregory Lypny gregory.ly...@videotron.cawrote:
Hello everyone,
I want to create a simple login form and was wondering whether we have
Hello Gregory,
Out of the wrds.com irev lib :
1.- To retrieve the cookies datas :
put item itemoffset(firstcookie,$_SERVER[HTTP_COOKIE]) of
$_SERVER[HTTP_COOKIE] into rusersid
split rusersid by ; and =
etc...
2.- To store new cookies along the page to output to the end-user browser
Andre,
Well done ! Your revSpark partition is realy amazing !
Kind Regards,
Pierre
Gregory,
check out http://hg.andregarzia.com/revspark/src/tip/revspark.inc and check
setCookie and getCookies handlers
Andre
--
Pierre Sahores
mobile : (33) 6 03 95 77 70
www.wrds.com