httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eeadev dev <eea...@gmail.com>
Subject Re: [users@httpd] how to simply set a cookie?
Date Fri, 29 Sep 2017 13:22:40 GMT
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 <covener@gmail.com>:

> On Fri, Sep 29, 2017 at 8:27 AM, eeadev dev <eeadev@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
>
>

Mime
View raw message