loadcookies
 loadcookies | 
   
  Purpose
 
 
 Load cookies from a file.
 
 
  Synopsis
 
  function loadcookies(fname:string|text, host:string):integer 
 
  Arguments
 
 | 
     
     fname 
       | 
   
     
     Source file name
       | 
  
| 
     
     host 
       | 
   
     
     If not empty only cookies compatible with this host name are recorded
       | 
  
  Return value
 
 
 Number of cookies added to the store
 
  Further information
 
 
  This function loads cookies from the specified file and record them into the cookie store. The file must be encoded as a HTTP header and only
 "Set-Cookie" headers are processed (other lines are silently ignored).
 
 
  Related topics
 
  
  Module
 
 
