Skip to main content
-1 votes
0 answers
61 views

I have data stored in sessionStorage and a hyperlink which I want to be able to share it with even if user opens in a new tab. If I set "target" attribute to "_blank" and "rel&...
KekmasterACR's user avatar
1 vote
3 answers
100 views

I created a multi-page quiz, and I use the sessionStorage API to calculate the points and display the final score on the last page. Each time, I have a first page with the quiz. <form id="q1&...
blogob's user avatar
  • 582
0 votes
1 answer
64 views

I'm making a fetch request for additional HTML content and rendering it on the page. I need to store this HTML client-side so that on back / forward navigation, the page appears as the user left it - ...
Austin Bravo's user avatar
1 vote
2 answers
108 views

MDN Web Docs says that "The storage event of the Window interface fires when a storage area (localStorage or sessionStorage) has been modified in the context of another document." However ...
lowkkid's user avatar
  • 13
0 votes
1 answer
100 views

I have an <Authenticated> component that is used to render all of my authenticated routes. I want to prevent rendering the page until I have checked a token stored in sessionStorage. 'use client'...
Michael Lynch's user avatar
1 vote
0 answers
75 views

I'm working on an Angular 18 application that uses localStorage and sessionStorage to store user data. Everything works fine when I access the site using the root URL, like https://www.example.com/. ...
Alex Ibrahim Ojea's user avatar
0 votes
1 answer
35 views

The teo lines in the script section of my html page are these ... var mySession = sessionStorage.getItem("catProfile"); var myValue = mySession.getElementByID("catAge"); The ...
Karlton's user avatar
  • 51
0 votes
1 answer
45 views

I am facing technical issues with handling a large amount of data in my MEAN stack application. To avoid repeatedly calling the API, I have implemented local storage to cache the data. If the same ...
ihtizaz ahmad's user avatar
0 votes
1 answer
2k views

I need to be able to change Zustand storage at runtime, is it possible? import { create } from 'zustand' import { persist, createJSONStorage } from 'zustand/middleware' export const useBearStore = ...
mehran's user avatar
  • 1,494
0 votes
0 answers
90 views

I'm using Angular 17 with ApexCharts. I would like to save the state of a chart (hidden series, zoom, active/inactive legends etc.) into the session storage, and retrieve it after page reload to show ...
Furrier's user avatar
  • 23
1 vote
0 answers
67 views

SUMMARY. When I test the sessionStorage object (window.sessionStorage) in Firefox I find that its contents persist during a system restart. This is a problem for my client who needs to comply with ...
Codeit's user avatar
  • 11
0 votes
1 answer
1k views

As a learner of playwright, I have a challenge with "dependency" and "storage state" features in playwright. I have two products that seems the login process is different on them. ...
Sara Sarvi's user avatar
2 votes
1 answer
2k views

A standalone app generated with Angular 17 CLI imports the app.config.ts into the app.config.server.ts and merges the 2 configurations by default. This results in all providers imported in app.config....
Tobi's user avatar
  • 23
1 vote
1 answer
47 views

Ember.js Octane and JavaScript (not TS) I have a service to access the session store. When I add or remove a specific key, I want my top level component to toggle visibility for the nav-bar. I have ...
Display name's user avatar
  • 1,601
0 votes
1 answer
251 views

I have a class: export class CartItem { productname!: string; quantity!: number; } I store an array of this in session as: cartItems: Array<CartItem> = []; ... ... sessionStorage.setItem(&...
Blah Foo's user avatar

15 30 50 per page
1
2 3 4 5
71