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

Questions tagged [session]

A session refers to the communication between a single client and a server. A session is specific to the user and for each user a new session is created to track all the requests from that user.

0 votes
0 answers
5 views

i was building a simple shopping cart using php and mysql but it displays that session started, im still confused because i didn't started it

enter image description here[enter image description here](https://i.sstatic.net/r4aF3KkZ.png) GUYZ HELP ME TO SOLVE THIS ISSUE i was building a simple shopping cart using php and mysql but it ...
MWIMULE Bienvenu's user avatar
-1 votes
0 answers
18 views

Batch get sessionname by logon to check if RDP or not

I am trying to check if a user who logs on is in an RDP session or not. On logon, the AD logon script in Batch for the user is triggered. If the user is in an RDP session, no printer and no Network ...
hase1010's user avatar
0 votes
0 answers
16 views

django OAuth Toolkit not getting redirect URI

I am using Django OAuth toolkit and using the following code for OAuth implementation import requests from django.http import JsonResponse from django.shortcuts import redirect, render from django....
Johnny's user avatar
  • 1,747
0 votes
0 answers
14 views

How can I use a single Telethon session for multiple scripts?

I have a JSON format Telethon session. I can use it in one script without any problems, in the second if I try to use it at the same time, Telethon will output database is locked I tried to fix this ...
Tacco's user avatar
  • 23
-2 votes
0 answers
17 views

Problème perte session quand changement d'onglet [closed]

Bonjour, Je travaille avec un front Angular et un back Supabase. Mon utilisateur peut se connecter mais s'il change d'onglet et revient sur le sass après, aucune donnée ne peut être chargé et je dois ...
Maxime Baudin's user avatar
0 votes
0 answers
21 views

IIS - Windows Authentication Session Problem

I have made a razor pages app that authenticates with Windows authentication. It is deployed to IIS. It checks database for user role, uses ClaimsTransformer and authorize with attributes. Users are ...
Cndsjdhshdujrue's user avatar
0 votes
0 answers
31 views

NestJS how to use Sesion with RedisStore using Fastify?

I have installed NestJS v.10.3.9, Fastify v.4.28.0, @fastify/secure-session v7.5.1 and @fastify/redis v6.2.0 because I need pernament session to save tokens (id tokens/refresh tokens) to protect ...
ChicaDevCat's user avatar
0 votes
1 answer
23 views

Why does clearing all sessions make my NestJS app unresponsive?

I have a NestJS app, with a special Admin route I want to be able to call to clear out all user sessions (for example: after we deploy a new version of the application so we can kick everyone out). I ...
Chris Barr's user avatar
0 votes
3 answers
54 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
-1 votes
0 answers
22 views

How to extend session.user in Auth.js? [closed]

Below follows a question on Auth.js (formerly NextAuth.js). Background: I am using the jwt session strategy, but would still like to store more information about a user on session.user, than what is ...
Magnus's user avatar
  • 7,471
0 votes
1 answer
24 views

$this->request->getSession()->destroy() is not persist in CakePHP 4

I am destroying a session in a Controller method like this:- public function finallogout() { setcookie('cookie_login', 0); $session = $this->request->getSession(); $session->...
Saswat's user avatar
  • 12.7k
0 votes
2 answers
52 views

syntax error, unexpected string content "", expecting "-" or identifier or variable or number

In a PHP application I am trying to the users information from the table like below session_start(); $sql = "SELECT * FROM users WHERE company_id = $_SESSION['companyId']"; $result = $...
Abhishek Tiwari's user avatar
0 votes
0 answers
38 views

php creates *many* session files for one session_start()

PHP v8.1.18 on a Fedora 'test server' with apache 2.4.57 I am the only person logging in or surfing Today, there were 1345 sessions created ( /var/lib/php/session/sess* ) 1344 of these have the same ...
thackett's user avatar
0 votes
0 answers
32 views

Blazor Web App (.Net 8.0 - Visual Studio Template): Passing registered services from Server project to client project? How is it supposed to work?

Chapter: Starting point So I am completly new to Blazor and/or Razor and the whole question might be completly obsolete as I might just miss a certain fact to fully understand the concept of the "...
rekcul's user avatar
  • 329
1 vote
0 answers
27 views

My counter is edited correctly when a button is clicked but this new value is not saved for the next action

When a button is clicked my counter should be lowered by 1 or 2 depending on the clicked button. This works the first time but when a button is clicked again the original value of my counter is used ...
Kara's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
2960