Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
3 answers
55 views

ASP.NET Core 6.0 MVC : get session and cookies in view

Browser>Application>Cookies I am attempting to create session and cookies in a ASP.NET Core 6 MVC project. When I debug the project locally on my PC, the session and cookies are working as ...
Lamont Chean's user avatar
0 votes
1 answer
24 views

Flask web app redirects to login page instead of dashboard after successful authentication to an external website

I am making a Flask web application that clones a login page of a website and sending post request to authenticate to the original website. The request is made using session so to be able to preserve ...
Mihai's user avatar
  • 41
0 votes
0 answers
45 views

Can't get file because logged in is not kept

I'm encountering the same situation which is described in this page How to requests.Session().get if website does not keep me logged in? with another website: Trying to download an executable on this ...
Kaoru54's user avatar
  • 11
0 votes
1 answer
28 views

What If Session Expires While User Is Still On The Website

Suppose that there are 5 minutes left for the session to expire when user enters the website.Every action that user will make after 5 minutes will be rejected by server if it requires you to login and ...
Tunahan Keklik's user avatar
0 votes
0 answers
32 views

Session Persistence Issue Between Two Django Projects Using Both JWT and Session Authentication

Background Project A Legacy system Django full-stack server based on a template language Using sessions for authentication Python version 3.8 Django version 3.2 Project B New project JSON-based Django ...
genie's user avatar
  • 1
0 votes
1 answer
59 views

Cannot authenticate in fresh installed Laravel 11 with MySQL/MariaDB

I cannot have Laravel 11 authentication working with MySQL or MariaDB. Here's what I've done: Install Laravel with composer create-project laravel/laravel foo Create Database and edit .env ...
Arcesilas's user avatar
  • 1,402
0 votes
1 answer
30 views

Issue with back button navigation after login in Node.js Express using sessions and cookies

I've implemented a basic login system using session and cookies in Node.js Express. After successful login, users are redirected to /home to see a welcome page. However, when users click the browser's ...
prajitha k's user avatar
1 vote
0 answers
26 views

Cross-domain Authentication Issue with Passport.js and Next.js Client

Problems I'm using Passport.js for authentication on a Node.js server (localhost:8000) and a Next.js client (localhost:3000). Despite trying various solutions, I can't get cross-domain authentication ...
Samuel Duhaime-Morissette's user avatar
0 votes
0 answers
27 views

CakePHP 4.5 Session was already started on logout

I'm trying to upgrade to PHP 4.5 and everything is going flawless except logging out. CakePHP 4.5.5 CakePHP/Authorisation 2.10.2 When logging out in: APP/Controller/UsersController.php public ...
Zegert's user avatar
  • 113
0 votes
2 answers
41 views

Login session not accessible other than redirected page

This is my login.php if ($_SERVER["REQUEST_METHOD"] == "POST") { $username = $_POST['username']; $password = $_POST['password']; $stmt = $conn->prepare("SELECT ...
Asad Khrd's user avatar
0 votes
0 answers
124 views

/api/auth/session being called multiple times and expires getting updated for every call

Integrating NextAuth using Google Provider [...nextauth].js file export const authOptions = { providers: [ GoogleProvider({ clientId: process.env.GOOGLE_CLIENT_ID, ...
ishu_oct's user avatar
0 votes
0 answers
38 views

Next-Auth session error while trying to login with credentials or google

I am using Next.js 14 and NextAuth 4 and trying the login using credentials and google provider When i am running my project in dev mode there is no error and it's working fine as client-side is ...
Riyan Ali's user avatar
0 votes
0 answers
16 views

Issue with session authentication not being preserved across calls from React frontend to Django backend

I have the following code: LoginPage.js: import React from 'react'; import axios from 'axios'; import { useNavigate, Navigate } from 'react-router-dom'; import { Button, Grid, TextField } from '@mui/...
user24368649's user avatar
0 votes
1 answer
86 views

Laravel 10: Session regeneration in middleware not updating values

I am working on a Laravel 10 application with middleware that checks if a token has expired. If it has, it generates a new token using refresh_token, creates a new session, and updates the session ...
José Victor's user avatar
0 votes
0 answers
26 views

I got a error called TypeError: Class constructor MongoStore cannot be invoked without 'new'

I am currently building a Node, Express, Passport.js WebApp called StoryBooks following a Youtube tutorial. Problem occurs in the session part. I'm trying to store the session in Mongo. //Sessions ...
Ayomal Weerasinghe's user avatar

15 30 50 per page
1
2 3 4 5
178