Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
121
rated 0 times [  128] [ 7]  / answers: 1 / hits: 33190  / 8 Years ago, thu, july 21, 2016, 12:00:00

I store a hash in session storage using javascript like:



window.sessionStorage.setItem('test', true);


How do I read this key using node.js?


More From » node.js

 Answers
12

You don't.



sessionStorage is a browser side API for storing values locally for the life of the browser session, that does not automatically get transmitted to the server. NodeJS is a framework and engine for creating server side applications.



Perhaps you're needing the functionality of cookies.


[#61301] Monday, July 18, 2016, 8 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
terrencegreysons

Total Points: 674
Total Questions: 102
Total Answers: 105

Location: New Caledonia
Member since Thu, Mar 23, 2023
1 Year ago
;