issue with setting cookies - WeOnlyDo Discussion board

issue with setting cookies (General questions)

by Klinzter, Monday, October 07, 2013, 01:08 (3848 days ago)

I have a little issue with wodHttp with Autoredirect set to true.

I have this POST to site1.com/login.php with username and password
on success I get a header with

Set-Cookies: user=blah
Set-Cookies: logged=yes
Location: site2.com/connect.php

then I am redirected to site2.com/connect.php
the header contains this

Set-Cookies: user=no
Set-Cookies: logged=no
Location: site1.com/home.php

then I am redirected back to site1.com/home.php
and it says that im not logged in, so when I check cookies I have
user=no; logged=no

what can I do because site2 its messing up the cookies


Complete thread: