php - Generate and save a custom cookie on the serverside -


i generate cookie (on server side there won't browser) specific name/values , save in text file (e.g fopen ). later i'm planning to use cookie curl . problem don't understand what's cookie format , how should save . when on cookies saved curl have

# netscape http cookie file # http://www.netscape.com/newsref/std/cookie_spec.html # file generated libcurl! edit @ own risk.  www.example.com   false   /       false   0       asp.net_sessionid       3ddldk5iccxrj45fsl2ctrd www.example.com   false   /       false   32522347      sccouscix       548913113 

i don't understand spaces , method should use generate working cookie . proof of concept generate simple cookie name : exampleid , value 000000000

exampleid   000000000   /   www.example.org 

update make sure question understood: need generate custom cookie not 1 curl generated other websites. found original netscape cookie specification on curl website

http://xiix.wordpress.com/2006/03/23/mozillafirefox-cookie-format/


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -