I heard that the value set by cookie only is valid for one domain. Is that true? How about session?
I want to protect multiple pages using session, but if a session value is valid for more than one domain, then anyone can simply register that value and visit the page I protected.
What is the best way to protect multiple pages?
Can anyone help me solve this problem?