10,518 questions
0
votes
0
answers
31
views
Issue with Persistent Timer After Opening a Letter in Java [closed]
I am working on a Java application where a user can "open" a letter, and after that, a 24-hour countdown timer should start. The goal is to prevent the user from opening another letter ...
-3
votes
0
answers
38
views
Inserting id in localStorage returns null [closed]
i've been making a cart for my e commerce page, now i need to put my cart objects in localStorage, i manage that via array, then that array i insert in localStorage
The array is composed of an id ...
0
votes
0
answers
43
views
Is there any client-side storage that is safe from browser extensions?
LocalStorage, SessionStorage and IndexedDB can all be easily accessed by browser extensions through content scripts. Yes, the extensions need user permission, but users are dumb enough to give ...
2
votes
0
answers
20
views
My browser localstorage clears everytime i refresh
Welp, creating a time block app, and I want the saved timestamps/blocks to be present upon reload, written the appropriate code - I guess
whenever I add a time stamp/block, it shows in the application ...
0
votes
0
answers
37
views
Passing Client side info to Login in Blazor Web app
I have a scenario, which worked previosuly in Blazor, but not in Blazor 9 (& 8) with the new Web app template & Identity.
I have a basked Id, stored on the client side in LocalStorage - at ...
1
vote
0
answers
23
views
Cookies Set After Facebook OAuth Redirect Are Stored Under facebook.com Instead of My Domain
I'm implementing Facebook OAuth login in my web application and trying to set a session cookie after the OAuth callback. The flow works correctly on my local environment (localhost), but in beta and ...
0
votes
0
answers
13
views
How to identify the "latest version" of the (Browser) Local Storage & enforce it being aplied to other (idle) tabs?
Is anyone aware how to get the the extact hh:mm:ss of an object written to local storage? (which would help me troubleshooting some weird behavior I am facing)
What is the right way to enforce most ...
0
votes
0
answers
14
views
How to Access Real-Time Data from Local Storage Files in Browser Directory?
I’m monitoring a website where news updates are displayed in real-time. I can see these updates in the LocalStorage section of my browser's Developer Tools (under example.com/news).
I’m wondering ...
0
votes
1
answer
23
views
Issue with Retaining Current Topic on Page Refresh in React
I’m building a programming tutorial website using React. Each content page has a sidebar and a main content section with "Previous" and "Next" buttons to navigate topics. However, ...
0
votes
0
answers
25
views
Why does “Reduce Protections" appear in nextjs project?
I am developing a project with Nextjs. I deploy this project to Vercel and view it from my phone. When the user logs in to the admin page, I add a "token" key to localstorage and give its ...
0
votes
0
answers
48
views
Why can't I store data into localStorage in Javascript? [duplicate]
I am a beginner in web development, and I am working on a simple bookshelf app. I want to store the book data in localStorage using JavaScript, so the data persists even when the page is refreshed.
...
2
votes
1
answer
45
views
How to forcefully reload and clean data in Shopify JS?
I’ve trying for a few days to solve this and couldn’t. I need my page to reload and forget about the previously set values in some functions. I tried many ways to do so but none have been working in ...
0
votes
1
answer
33
views
How do I set a local storage item after a form submit in a Blazor component?
I'm using the .NET8 Blazor web app template, with the Identity stuff included, and have added the Blazored.LocalStorage Nuget package.
I would like to set a local storage item when the user logs in, ...
1
vote
1
answer
58
views
Why is my Angular signal not populating with data from localStorage?
I am using the following function to add user data to cartSignal and store the data to localStorage. It works fine.
public addToCart = (item:CartItem) => {
this.cartSignal.set({cartItems:[......
1
vote
1
answer
34
views
Logged-in verification on Ionic
I'm trying to use ngOnInit to verify if a value is set on the app's localStorage, but it doesn't work.
this is what i have now:
this is the function that logs the user in the app
async login() {
...