Ok, I'm not really even sure where to post this JavaScript or PHP - I guess since the problem is in the PHP portion of the code I'll post it here.
I'm developing a PHP/AJAX (using the SAJAX php module *modified*) to create the user interface for a website.
The first thing a user is to do is to login - which works (the form calls the javascript which calls the php login function and returns either "Wrong" or "OK").
My problem is arising when I want to create a remember me box.
I've done the "Remember Me" thing before without using AJAX, and the cookies worked just fine - however with the login no utilizing AJAX the script is failing at the setcookie call.
If more info is needed just let me know and I'll provide what I can.
Has anyone dealt with this or know how I might get around this?
I'm developing a PHP/AJAX (using the SAJAX php module *modified*) to create the user interface for a website.
The first thing a user is to do is to login - which works (the form calls the javascript which calls the php login function and returns either "Wrong" or "OK").
My problem is arising when I want to create a remember me box.
I've done the "Remember Me" thing before without using AJAX, and the cookies worked just fine - however with the login no utilizing AJAX the script is failing at the setcookie call.
If more info is needed just let me know and I'll provide what I can.
Has anyone dealt with this or know how I might get around this?