force users to receive new cookie
Permalink
I have a site where users buy downloads but one of the of the issues is when a user buys a product they must sign in and out in order for there download to work (not a big deal)
However I have been bombarded with emails from people asking for help simply because they can't read or think that signing off the website and back in is the same as restarting there computer
I was wondering if there was php command or something I could insert at the top of the downloads page to force a new updated cookie onto the users computer
However I have been bombarded with emails from people asking for help simply because they can't read or think that signing off the website and back in is the same as restarting there computer
I was wondering if there was php command or something I could insert at the top of the downloads page to force a new updated cookie onto the users computer
Please also note that because of that, it logs out the user if they haven't set the "remember my login" option. If you want to make sure the user is always logged out, you should also programmatically log the user out before calling that: