[Zope] Using Layer with cookies
   
    Dieter Maurer
     
    dieter@handshake.de
       
    Mon, 6 Jan 2003 19:51:25 +0100
    
    
  
Axel Missbach wrote at 2003-1-5 13:08 +0100:
 > On Clientside having an orderform, where the user can select a part 
 > after giving some values for a Query(ordernumber, partname,...). the 
 > values are send to the dtml-Dcument, where a SQL-Query puts the Data to 
 > an array.
 > First writing a cookie, then updating a layer.src="dtml-Document Name", 
 > in the end display the array-data.
 > This works fine, until the cookie value has whitespaces(' ').
 > 
 > Writing a cookie "value="a b c";expires...",
 > on Clientside(the mainform) the REQUEST.cookie is korrekt, but on the 
 > serverside(the layer.src) the REQUEST shows only
 > cookies:
 >   value="a"
 > 
 > Why is the value truncated?
Did you read the cookie specification?
   Some characters are not allowed in cookies...
You can encode your cookies (not standardized by the specification).
Dieter