new to cookie: concept
Posted: Tue Jul 26, 2005 9:06 am
hi all,
let me start with netscape as example.
when we try to login again in netscape to some place we logined before, netscape can show our user name and password automatically.
ok, my questions:
1. does netscape set user name and password as cookie's value?
or
2. does netscape use the cookie's value as ID to its server's database to read user name and password?
I guess 1 is right anwser, but it is possible that people use 2 also for cookie.
what value do you set for cookie?
(may be an advanced question)
3. why netscape can auto input user name and password in related controls? how does netscape know which control is used for user name or password?
thanks
let me start with netscape as example.
when we try to login again in netscape to some place we logined before, netscape can show our user name and password automatically.
ok, my questions:
1. does netscape set user name and password as cookie's value?
or
2. does netscape use the cookie's value as ID to its server's database to read user name and password?
I guess 1 is right anwser, but it is possible that people use 2 also for cookie.
what value do you set for cookie?
(may be an advanced question)
3. why netscape can auto input user name and password in related controls? how does netscape know which control is used for user name or password?
thanks