On 26 Sep 2010, at 20:38, Ekki Plicht (DF4OR) wrote:
Serving the pages in different languages works fine with C::P::I18N,
but I
can't figure out how to return the visitor to the refering page.
Simply
redirecting to the referer does not work, because a prepared cookie
isn't
preserved over a redirect (isn't it?).
Yes, it is.
If you send a cookie as part of a 302 redirect, then that cookie will
(if applicable) be re-presented on the GET of the resource that the
user was redirected to.
Cheers
t0m
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/