i'm really confused now...cookies and session
Posted: Sun Jan 23, 2005 11:22 pm
hi everyone...
i'm a newbie in php programming,while browsing my book about cookies and sessions, it says there that using session is more secure than using cookie, but sessions rely on cookie by default. then it says that sessions can be used without a cookie, and it also says (in the book) that doing so (using sessions without cookie) is less secure. now i'm really confused. in the forum, i ask somebody to pick a preference between cookies and sessions, just 1, some in the forum says it is sessions they prefer. so why choose sessions alone if it is less secure? is it the book that lack some information?im really confused right now and ask somebody or everybody to interact in this thread.
thanks in advance
pleigh
i'm a newbie in php programming,while browsing my book about cookies and sessions, it says there that using session is more secure than using cookie, but sessions rely on cookie by default. then it says that sessions can be used without a cookie, and it also says (in the book) that doing so (using sessions without cookie) is less secure. now i'm really confused. in the forum, i ask somebody to pick a preference between cookies and sessions, just 1, some in the forum says it is sessions they prefer. so why choose sessions alone if it is less secure? is it the book that lack some information?im really confused right now and ask somebody or everybody to interact in this thread.
thanks in advance
pleigh