I am having trouble setting up cookies. On my website I have a login system. I want to set a certain cookie if a user has permission. So for example
If(user == moderator)
setcookie
But apparently my cookies are getting set up even if the user is not a moderator. How can I achieve this?
Thanks
conditional cookie
Moderator: General Moderators
Re: conditional cookie
Fix your code?
I'd help more but you didn't post any code to look at.
I'd help more but you didn't post any code to look at.