But there's no way to set cookies on a static file served by Mongoose, 
correct?

I'd have to copy handle_file_request() and add the cookies to the header 
there, if I understand the source correctly.

On Wednesday, June 12, 2013 3:01:44 PM UTC+2, Sergey Lyubka wrote:
>
> mg_printf(conn, "%s", "HTTP/1.0 200 OK\r\n"
>   "Set-Cookie: .....\r\n\r\n");
>
>
> On Wed, Jun 12, 2013 at 7:50 AM, Николай Ермаков <[email protected] 
> <javascript:>> wrote:
>
>> Mongoose have this? I can't find them in manual.
>> I want to set cookie from guest on my site.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "mongoose-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/mongoose-users?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"mongoose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mongoose-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to