If I swap these two lines round, I can see the password/secret/asite stuff at the top of the page, but when they're the right way round no cookies are sent.
What about ending the line with \r\n\r\n instead of \n\r\n\r? Does that make a difference? (I'm not trying to be cute, I just am not in a position to test that.)
Also, is it possible to load the file ...cgi.lsp? I mean three dots, then cgi.lsp? While it is possible to name a file this way, it might not be what you meant.
Yes, that was just shorthand - I didn't put the full path of cgi.lsp in, since I've got it stored somewhere else. But I think it's working OK - the rest of the CGI stuff is working fine... Just can't get any cookies to appear.
There was a problem in cgi.lsp v.2.1 and earlier when '=' signs where present in the cookie key or value string. This has been fixed in cgi.lsp version 2.2 distributed since 9.2.1.
What version of cgi.lsp are you using?
Lutz
ps: 'cookies' is a variable local to the CGI name space as CGI:cookies and set to '() if no cookies are present.
Ah - your file doesn't work when copied to the server - says 'no cookie found' each time. So presumably there's something on the server that's preventing it working...
Edit: i now suspect that the expiry date is compulsory. Will investigate.
Edit: I think its working. Domain name had two dots perhaps.