How do I read or write a cookie in php using gwan? I tried use setcookie, but the only variables that appear are get and post in argv.
Asked
Active
Viewed 234 times
0
-
I think this question will help : http://stackoverflow.com/questions/14886351/gwan-redirection-after-create-cookie . Let me know – hopper May 08 '13 at 18:15
-
It does not help, it is only for C and others who have the Gwan API internally. – uNDERsCORE May 08 '13 at 18:32
1 Answers
1
char cookies[] = "Cookie: blah\r\n" // add a cookie in the response
http_header(HEAD_ADD, cookies, sizeof(cookies) - 1, argv);

hopper
- 4,230
- 8
- 36
- 49