[plt-scheme] cookies and redirect

From: pedro pinto (pedro.e.pinto at gmail.com)
Date: Mon Jan 30 19:37:10 EST 2006

Does anyone have an example of a simultaneous redirect + setcookie using PLT
scheme?

I tried:

(make-response/full 303 "See Other"
                              (current-seconds)
                              #"text/html"
                              `((location . ,url)
                                ,(make-session-id-cookie session-id))
                              (list
                               (xexpr->string
                                ...
)))


The redirect works fine but no cookie is apparent.

-pp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20060131/29d28101/attachment.html>

Posted on the users mailing list.