[ZPT] logout using zpt instead of dtml

Chris Withers chrisw at nipltd.com
Fri Aug 8 07:35:34 EDT 2003


Exteam wrote:
> Hi all,
> 
> I have tried unsuccessfully to convert the following
> code to zpt, plz help.

That's because you should be changing it to a python script instead!

request = context.REQUEST
response = request.RESPONSE
response.expireCookie('__ac',path='/')
response.redirect(request.URL1+'/logged_out.html')

Chris




More information about the ZPT mailing list