[REBOL] Re: CGI session variables like in PHP
From: SunandaDH:aol at: 8-Oct-2003 12:41
Carlos
> Thank you for your ideas
thanks to you too.
I've cobbled together a working example of using cookies to hold session data
and put it in the Script Library:
http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=cookie-example
.r
Most of the code has been hacked down from code used in the Script Library
itself, but I've left most of the "real world" issues in so you can see the
sorts of skips and jumps you may need.
You could use it as a starter template for the sort of functions you may need
to implement session variables.
It *seems* to work for me, but I may have broken something in the rapid
cutting and pasting to haul a load of carefully structured functions into one
source script.
Sunanda
Sunanda.