Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Example: Providing an identifier to a server. Cookies require one request: The identifier is automatically passed along with the initial request. Using localStorage and JavaScript: The first request is anonymous, the server return some JavaScript which reads the identifier from localStorage and pass it back to the server in a second request.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: