Re: Setting Cookies and On-rev

2010-08-04 Thread Gregory Lypny
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:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Setting Cookies and On-rev

2010-08-03 Thread Andre Garzia
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 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


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




-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Setting Cookies and On-rev

2010-08-03 Thread Pierre Sahores
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 
(javascript) dynamically populated by the irev lib:

replace ###scwordscawayasid### with 45485ui5i85485ti5on5545ti57 in tvar (in 
the reality, some kind of encrypted datas)

2.1.- where tvar contains, at least :

script type=text/javascript language=JavaScript
!--
sc_words_adv(__firstcookie, 45485ui5i85485ti5on5545ti57);
sc_words_adv(__scecondcookie, 75to48i5tn4n54n74n848r5r85i45o);
sc_words_adv(__thirstcookie, 557i5r448n5785uo5ti5o75u85i);
//--
/script

Best Regards,

Pierre


Le 3 août 2010 à 21:03, Gregory Lypny a écrit :

 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
 
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.com






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


Re: Setting Cookies and On-rev

2010-08-03 Thread Pierre Sahores
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
www.sahores-conseil.com




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