10,476 questions
0
votes
1
answer
64
views
Alternative to local window storage in browser
I have an application that consists of three parts: a Python server application, a web front end that is connected to the Python tool via WebSocket, and a second website that is connected to the first ...
Advice
0
votes
2
replies
55
views
Use items from local storage to pre-populate a webform
I am new to HTML, CSS and Javascript.
I am building a website that has a shopping cart feature and I am able to list my products, and and remove to the shopping cart and have the UI update the ...
0
votes
1
answer
64
views
Why does my P2P chat app always redirect back to the login page after registration?
I'm building a peer-to-peer chat app using WebRTC and a WebSocket signaling server.
Everything works fine up to registration — I can connect to the server, and I see "registered" in the ...
2
votes
1
answer
126
views
How can I correctly save and restore Excalidraw drawings from localStorage in a component?
I’m working on a React component that uses Excalidraw, and I want to save and load drawings from localStorage so users don’t lose their work after refreshing the page.
import { Excalidraw } from "...
-5
votes
1
answer
86
views
Why does localStorage data disappear after browser restart in Chrome? [closed]
I’m using localStorage in a small web app to persist user preferences.
However, when I restart the browser, sometimes the stored data disappears.
After closing and reopening Chrome, getItem("...
0
votes
0
answers
71
views
Angular login showing blank white screen
I am trying to implement login function in angular application. When I login, I am storing current user information to local storage and using that value in another modules to get current user's id , ...
2
votes
0
answers
69
views
TanStack query local storage full
We are using TanStack query (Vue) for storing a lot of states in the local storage.
But what happens if the local storage is full?
Will it just discard the oldest query if we store a new query?
1
vote
1
answer
67
views
App works fine for me, but crashed and wouldn't work until cookies were deleted on someone else's device
Code: https://github.com/mhayakawa1/color-app
App: https://color-app-reactjs.vercel.app/
I built this app with a feature that lets users save selected colors.
Someone else tested out the app and came ...
0
votes
1
answer
53
views
Can't use storage.local.set from content_scripts in Safari
I have a browser extension that I'm trying to port on Safari. On some devices/version of the browser (mainly on mobile versions), the following code will throw an error:
await chrome.storage.local.set(...
2
votes
1
answer
112
views
Navigation to home page from login page is not working the second time
By default, the login page opens if the user is logged out. The onLogin method works fine the first time and navigates to the home page. On logout, it navigates back to the login page. If I try to log ...
0
votes
0
answers
37
views
localStorage dissappears after refresh. The array resets [duplicate]
I was following along a React project tutorial and writing the exact same code to the last bit but noticed that although the favorited movies would be saved to localStorage, upon refresh the array ...
1
vote
1
answer
92
views
Persistent storage denied for IndexedDB
I intend to use IndexedDB for local storage from local HTML.
However, the DB tables were deleted when free space on drive C: decreases to a certain level. For some reason browser won't let me turn ...
1
vote
2
answers
45
views
Can I retrieve Cordova localStorage in React Native?
I had a mobile app built in Cordova, in which I saved information using the localStorage method.
When switching from Cordova to React Native, I kept the same package but can't access the information ...
3
votes
3
answers
155
views
How do I make my local storage preserve on reloads?
Whenever I click onto a new page on my website with my crt filter turned off, it says it saves the state and displays it in the 'application space' on the Dev Tools Page. But the visual of the page ...
0
votes
0
answers
39
views
TASK ERROR: activating LV 'SAS-Thin/SAS-Thin' failed
I'm getting the following error TASK ERROR: activating LV 'SAS-Thin/SAS-Thin' failed: Activation of logical volume SAS-Thin/SAS-Thin is prohibited while logical volume SAS-Thin/SAS-Thin_tmeta is ...