Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #31099 > unrolled thread
| Started by | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| First post | 2016-08-10 00:14 +0200 |
| Last post | 2016-08-10 00:14 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.javascript
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Remembering something across pages Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-08-10 00:14 +0200
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2016-08-10 00:14 +0200 |
| Subject | Re: Remembering something across pages |
| Message-ID | <1752454.oMNUckLgyt@PointedEars.de> |
Stefan Ram wrote: > A person has two web pages on the same server under his control: > > A.html and > B.html Those are HTML documents, not “web pages”. And it does not matter much if they can be accessed on the same server. What does matter is that they can be accessed using the same protocol scheme, host, second-level domain and port, or that CORS has been set up appropriately and is supported by the accessing user agent. > . A.html contains a link to B.html (albeit via a redirector service). > > Can a script from the page A.html store some information (a > string or an object would be fine) so that a script on page > B.html can then retrieve this information? Yes. > PS: I just did a web search and found > > developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage > > . Ok, this sounds fine. Is this my way to go? Not necessarily. > Was there an easy alternative to do this before HTML5? Yes. -- PointedEars FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix> Please do not cc me. / Bitte keine Kopien per E-Mail.
Back to top | Article view | comp.lang.javascript
csiph-web