On Mon, Oct 7, 2019 at 12:32 PM Sibgha Nazir wrote:
> >
> > You don't use *expires *here.
>
>
> Yes it is irrelevant. Please ignore it.
>
>
> This should work.
> > Check what are the response headers in Chrome's Dev Tools > Network. The
> > new max-age value must be set to 0.
>
>
> I went to chro
>
> You don't use *expires *here.
Yes it is irrelevant. Please ignore it.
This should work.
> Check what are the response headers in Chrome's Dev Tools > Network. The
> new max-age value must be set to 0.
I went to chrome dev tool -> network. But i cannot see whats max-age and
where to look f
Hi,
On Mon, Oct 7, 2019 at 3:14 AM Sibgha Nazir wrote:
> Hi,
>
> I set a cookie from JavaScript in the chrome browser like
>
> > var d = new Date();
> > d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
> > var expires = "expires=" + d.toUTCString();
> > document.cookie = "test=true;1;pat
Hi,
I set a cookie from JavaScript in the chrome browser like
> var d = new Date();
> d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
> var expires = "expires=" + d.toUTCString();
> document.cookie = "test=true;1;path=/";
So the cookie value in the chrome is "true" (cookie "test"="true