You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by eeadev dev <ee...@gmail.com> on 2017/09/29 12:27:53 UTC
[users@httpd] how to simply set a cookie?
I tried with this function
apr_table_add(r->headers_out,"Set-Cookie","doodle=hello");
but I am not seeing the cookie I set when querying my website in chrome dev
tool under application->storage->Cookies
Thanks
Re: [users@httpd] how to simply set a cookie?
Posted by eeadev dev <ee...@gmail.com>.
thank you. yes, it is under the header but what if I want to see it under
"cookies". is it possible with apache?
2017-09-29 5:38 GMT-07:00 Eric Covener <co...@gmail.com>:
> On Fri, Sep 29, 2017 at 8:27 AM, eeadev dev <ee...@gmail.com> wrote:
> > I tried with this function
> >
> > apr_table_add(r->headers_out,"Set-Cookie","doodle=hello");
> >
> > but I am not seeing the cookie I set when querying my website in chrome
> dev
> > tool under application->storage->Cookies
> >
>
> Was it a 200 response? I'd suggest looking at the response headers
> rather than the stored cookies for debugging.
>
>
> --
> Eric Covener
> covener@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
Re: [users@httpd] how to simply set a cookie?
Posted by Eric Covener <co...@gmail.com>.
On Fri, Sep 29, 2017 at 8:27 AM, eeadev dev <ee...@gmail.com> wrote:
> I tried with this function
>
> apr_table_add(r->headers_out,"Set-Cookie","doodle=hello");
>
> but I am not seeing the cookie I set when querying my website in chrome dev
> tool under application->storage->Cookies
>
Was it a 200 response? I'd suggest looking at the response headers
rather than the stored cookies for debugging.
--
Eric Covener
covener@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org