Search Interview Questions | More than 3000 questions in repository. There are more than 900 unanswered questions. Click here and help us by providing the answer. Have a video suggestion. Click Correct / Improve and please let us know. |
|
| ||||
Interview Questions and Answers | ||||
| ||||
Ans. Session Cookie, because session storage can be accessed from XSS (Cross site Scripting) attacks but cookies (if set with "HttpOnly" and "Secure" flags) are more safer against these attacks. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  SessionStorage  session cookie  session management  javascript | ||||
Related Questions | ||||
What is session tracking and how do you track a user session in servlets? | ||||
what is the use of cookie and session ? and What is the difference between them ? | ||||
What are different types of cookies ? | ||||
What is a cookie ? | ||||
Why using cookie to store session info is a better idea than just using session info in the request ? | ||||
http protocol is by default ... ? | ||||