<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>When I write a cookie within a webservices module. 
it seems to arrive in my cookie directory named something like this</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><A 
href="mailto:user@webmodulename.txt">user@webmodulename.txt</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>However this means when another webmodule is 
accessing it, it can't find it.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Does anyone know what is&nbsp;the best method to 
get around this so that the cookie can be read from a number of webservices. 
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Note that changing the domain of the cookie seems 
not to effect this, and also that all modules are running from the same domain 
e.g. <A href="http://mydomain.com">http://mydomain.com</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Note also that the cookie is currently set like 
this.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp; with webmodule.Response.Cookies.Add 
do<BR>&nbsp; begin<BR>&nbsp;&nbsp;&nbsp; //Domain := 
webmodule.Request.Host;&nbsp; Currently not set.<BR>&nbsp;&nbsp;&nbsp; Expires 
:= (Now+ 1);<BR>&nbsp;&nbsp;&nbsp; // Limit the cookie to the path to this 
DLL<BR>&nbsp;&nbsp;&nbsp; //Path := Request.URL; // Such as 
'/scripts/StateKeeper.dll'&nbsp; //Not limited.</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; Secure := 
False;<BR>&nbsp;&nbsp;&nbsp; // The most important parts of the cookie are the 
Name and Value<BR>&nbsp;&nbsp;&nbsp; Name := 'FID';<BR>&nbsp;&nbsp;&nbsp; Value 
:= SObject.id;<BR>&nbsp; end;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Matt.</FONT></DIV></BODY></HTML>