44,254 questions
-1
votes
0
answers
35
views
How to prevent session timeout in Python [closed]
I am incredibly new to coding and Python, and wanted to know what code I need in order to prevent a session timeout. I am coding a text adventure, and some of the blocks of writing are long, and by ...
0
votes
2
answers
116
views
My authentication setup requires a setTimeout before redirect to allow cookies to write in the browser
Authentication flow:
User is redirected back to my site (to /auth/callback) after logging in with a 3rd party. The redirect back includes query params. The React function on the callback page sends ...
0
votes
1
answer
52
views
how to save the client-id from request cache when a user is redirected to the spring authorization server?
I have implemented or extended on top of Spring Authorization server. I have a authentication controller that accesses the client-id from the RequestCache object.
Now, I have built a sample OAuth app ...
-1
votes
1
answer
67
views
SQLAlchemy session initialization in Command pattern [closed]
A question on consideration for case/approach choice.
Let's say we have an app that has an ORM model and also uses simple realisation of the Command pattern. Inside of each command we need to ...
0
votes
0
answers
55
views
Laravel session lifetime on recursive ajax
I'm using laravel 8 with SESSION_DRIVER=file
I have code that run like below, and I have a problem why the recursive not extending the expired time of session?
Each process take 30sec, but after ...
0
votes
0
answers
56
views
How to suppress redundant update in Hibernate when insert + update happen in same transaction (trigger firing twice)?
In my Jakarta EE application (EJB + JPA with Hibernate), I have the following scenario:
A Contact entity is created (INSERT).
Immediately after creation, for some business reason, the same entity is ...
1
vote
1
answer
107
views
Check $_session does not appear to be working for Location but does for outputting html based on condition
I have the following file
/common/session.php
<?php
session_start();
$secret = getenv('SECRET');
$userinfo = array(
'private'=>$secret
);
if(isset($_GET['logout'])...
1
vote
1
answer
60
views
Alamofire network api request for uploading images failed on putting application into background ios
The updated API request which support background execution, for uploading images to server.
UIApplication.withBackgroundTask(name: "UploadImage") { endTask in
self.ShowHUD()
...
3
votes
0
answers
91
views
How do I generate a stable document ID for SQL executions when polling Oracle gv$session into Elasticsearch via Logstash?
I’m building a pipeline that polls Oracle’s gv$session joined with gv$sql every 5 seconds to track query executions. Each poll returns multiple rows (one per active session), and I need to aggregate ...
0
votes
0
answers
62
views
supabase-js v2: PKCE session lost after tab switch (persistSession + autoRefreshToken not working)
Using @supabase/[email protected]
PKCE flow enabled
Config: persistSession: true, autoRefreshToken: true
On tab switch → auth.getSession() returns null
Question: Is this a known bug with PKCE session ...
0
votes
0
answers
82
views
Preferred approach for handling session expiration due to inactivity with django + react
I have looked all around for this and read through the docs but still cannot seem to find the exact answer I am looking for.
I have a web app using auth0 that requires inactivity timeout of 20 minutes....
1
vote
1
answer
91
views
IFrame integration within salesforce
I'm developing an CPQ system and I want to integrate it as an iframe within salesforce or any other CRMs.
There are few problems,
A Session needs to be maintained for authentication and authorization
...
1
vote
1
answer
116
views
How to enforce authentication and redirect on client-side navigation in SolidStart?
I'm building a SolidStart app using the latest version (1.1.0) and cookie-based sessions for authentication.
To check if a user is logged in, I created a server query() function called getUser() that ...
1
vote
1
answer
261
views
Laravel 12 creates a new session on each request
I created a new Laravel 12 application following the Installation guide. The project is generated correctly and I ran all migrations.
When I run php artisan --version I get: Laravel Framework 12.20.0 (...
0
votes
1
answer
68
views
How to go from Rust Async-Session's Memory Store to a production setup?
I am currently using Rust Async-Session's Memory Store as a session storage (because I followed the OAuth example in Axum examples). While my code works, the module for Memory Store explicitly states ...
0
votes
0
answers
51
views
Next.js : signout user do not unauthenticate the session on production why
I'm facing an inconsistent logout issue in a Next.js app using next-auth. The user is redirected after calling the logout function, and tokens are supposed to be cleared. While most of the time ...
0
votes
1
answer
178
views
Is using HttpOnly cookies to manage AWS Cognito access and refresh tokens a secure and recommended approach?
We're implementing authentication for multiple SPAs across subdomains of the same parent domain (e.g. app1.mycompany.com, app2.mycompany.com) using AWS Cognito, a custom login UI, and a centralized ...
0
votes
0
answers
169
views
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.sessions.SessionLifecycleService"
In the new 12.8.6 version of our app, we removed the Firebase Crashlytics component. However, after release, we found that the SessionLifecycleService service from the firebase-sessions component—...
0
votes
1
answer
57
views
SM-AAD and retrieve objectId from persisted claims
I have a technical profile for login, that also include UseTechnicalProfileForSessionManagment = SM-AAD. Once user is fully authenticated; I have another Journey that allows them to change their ...
-1
votes
1
answer
83
views
Symfony 6 functional test can't get session value
After an update from SF5 to SF6 I'm unable to get session value set in a functional test in my tested service. The service is called by the controller from the route '/myurl/'.
Here relevant part of ...
-4
votes
1
answer
70
views
How to save my cart to my database in symfony? [closed]
Im trying to come up with a way to save my cart to my database as a order, but cant figure out how, the tricky part for me is how to fill the data of my cart items in the order, i want the order to be ...
0
votes
0
answers
38
views
Session Cookie Not Sent After Redirect from Stripe Payment Gateway in Chrome
I'm making a simple payment with Stripe where I redirect user to Stripe payment gateway and when payment is processed stripe sends user back to the 'confirm' page.
Order ID, and stripe session ID is ...
1
vote
1
answer
122
views
How to get the session value set in the API controller
I'm using laravel 12.0.1 and try to check the user is logged in or not in the middleware.
I set the session value in api Controller, but when I call this value in the middleware, it is null.
And my ...
0
votes
0
answers
48
views
SSO login with incognito mode force session to be started multiple times
I am working on an ASP.NET MVC application. We use few external login providers 'Google' and 'Azure' are used mostly. During investigation one issue with Google login, I discovered that session start ...
0
votes
1
answer
43
views
laravel Cookies and session not setting on client's browser in production
working on a laravel project, Cookie and session stopped setting on client's browser in production but work on localhost.
every form submission is not getting to controller and returned 419 page ...