Hi,
I am currently having a member login page where a member logs in and my code creates a cookie with expire = 1 day.
Now when the user clicks logout, I have the problem that the cookie doesn't get destroyed, I was hoping there to be a code that can either delete the cookie or just empty the contents of a the cookie.
Now I know I can use creating a cookie with no expiry date so that it will delete it after the browser is closed, but for some reason my IIS or browser doesn't do that and never writes the cookie, so i am force to make an expiry date for it so that it will create a cookie on file.
Help will be most greatful!!
Cheers
I am currently having a member login page where a member logs in and my code creates a cookie with expire = 1 day.
Now when the user clicks logout, I have the problem that the cookie doesn't get destroyed, I was hoping there to be a code that can either delete the cookie or just empty the contents of a the cookie.
Now I know I can use creating a cookie with no expiry date so that it will delete it after the browser is closed, but for some reason my IIS or browser doesn't do that and never writes the cookie, so i am force to make an expiry date for it so that it will create a cookie on file.
Help will be most greatful!!
Cheers