Results 1 to 2 of 2
Jan 31, 2007, 09:21 #1
- Join Date
- Oct 2005
- 5 Post(s)
- 2 Thread(s)
Ajax, Cookies, Authentication...Newbie Questions
I am building a form where registered users will put their employment histories. Each employment history will need to be associated with an employer ID, which is in my database. Instead of having tons of page reloads as users enter each employer in their histories, I figured I'd use Ajax to do it much more quickly.
Then I realized that I wasn't sure if Ajax sent the user's cookie to the server and if it didn't, then I wouldn't be able to tell what the person's authentication status is, what they have access to (only their own records), etc.
So I would like to know if Ajax sends cookies to the server. And if not, is it possible to send the cookie to the server with the Ajax request so I can ensure that people are adding and deleting from their own profiles only?
I'm sort of building this system without the authentication piece in place as of yet (will come later). So I have no way of testing this. Which is why I am asking.
Thanks for your assitance.
Jan 31, 2007, 11:12 #2
I'm sort of building this system without the authentication piece in place as of yet (will come later). So I have no way of testing this.
- Join Date
- Mar 2001
- 0 Post(s)
- 0 Thread(s)