[wp-hackers] setting a special cookie at the time of login or logout

Chris Williams chris at clwill.com
Sat Feb 13 00:27:18 UTC 2016


PHP setcookie() function.




On 2/12/16, 8:52 AM, "wp-hackers on behalf of Haluk Karamete" <wp-hackers-bounces at lists.automattic.com on behalf of halukkaramete at gmail.com> wrote:

>Hello,
>
>How can I set a cookie at the time of logging in and logging out?
>
>As far as I know these processes take place at the server and that is
>followed by a server redirect.. whereas for a cookie to be set, you need to
>be at the client.
>
>what's a good way to achieve this then?
>_______________________________________________
>wp-hackers mailing list
>wp-hackers at lists.automattic.com
>http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list