Can you set cookies anywhere?
Posted: Sat Nov 15, 2003 2:24 pm
Okay, I have a little project on the way but somethings bothering me at the moment.
Ive created a page to confirm the details of your login attempt. If your login matches with the database, it goes to one page. If it doesnt, it goes to another. You can see for yourself at http://www.blinkingeye.net
Both of the messages are in a "Show if.. " statement. So my question is, can I have it so if your login attempt was successful, it sets the cookies. Ive tried moving the cookie script inside the "Show if.." statement but it doesnt work. Any help would be grateful, cheers.
Ive created a page to confirm the details of your login attempt. If your login matches with the database, it goes to one page. If it doesnt, it goes to another. You can see for yourself at http://www.blinkingeye.net
Both of the messages are in a "Show if.. " statement. So my question is, can I have it so if your login attempt was successful, it sets the cookies. Ive tried moving the cookie script inside the "Show if.." statement but it doesnt work. Any help would be grateful, cheers.