It took longer than I expected, but I now need to SET a cookie from within a webservice. Does anyone have any ideas? Ideally I'd like a Set ServerVariable (all right, ideally I'd like a proper cookie interface, but I can work with ServerVariables).

My only course of action at the moment is to do something clever on the client side along the lines of have the return value of a webservice trigger some client code to set the cookie on the server's behalf. This isn't a good solution. Especially as I really want to set the HttpOnly property (http://en.wikipedia.org/wiki/HTTP_co...ttpOnly_cookie) which I obviously can't use if the client set the things for me :-(