Hi, >Mocking CGI worked fine for unit testing the class's response to >already set cookies. But, I'm finding myself at a loss as to a good >way (short of capturing output and using regexes) to test that the >class properly *sets* the cookies. > Whenever I develop any http server app, my unit tests include a mock http client and I use it to *really* know what the server (isapi, cgi, servlet) is sending back. I don't see how you could reliably measure the server output otherwise. Just my 0.02, Barry _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963