3,839 questions
-3 votes
1 answer
228 views
Setting SESSION data in a CURL request
I have a PHP script to be used as an Ajax responder, which I want to remember a previous call. I thought that it should be able to remember using $_SESSION data. I’ve simplified it down to a pair of ...
-1 votes
1 answer
124 views
$_SESSION array not being populated [closed]
I've been learning PHP over the past week, following a few tutorials and then expanding those ideas with my own. For the most part everything has gone well, but I'm running into a problem with the $...
2 votes
2 answers
41 views
When one script creates multiple XHRs to the same PHP file, are you creating multiple sessions or just one session?
Apologies if this seems like a repeat question but I'm having a different doubt now. Basically I have a PHP file that is set up like this: <?php session_start(); $_SESSION['globalVar'] = "...
0 votes
1 answer
55 views
ASP.net variable to hold the value between multiple http requests
What variable should be used to persist its value during multiple http requests? I am working on a system built in ASP.NET where I need to get data from one http request process it and pass it to the ...
1 vote
1 answer
42 views
Passing session variable from list php
I am having a major issue passing session variables via link from a list of options. Having searched through numerous posts I havent seen anything that is of help. So here is a sample of the code. ...
0 votes
2 answers
52 views
ASP.NET session variables not being retained
I have two web forms in ASP.net. In the first page is set a session variable like so: HttpContext.Current.Session("myTestVariable") = "ABCD" On the second page I try to read the ...
0 votes
1 answer
53 views
Session Not Stored In Express
I am creating a React app with Express as the backend and using MongoStore to store the session data. When I log in to Cloud Mongo in Atlas, I can see a session being created and my variable is stored....
0 votes
1 answer
109 views
Flask session variable not saving within generator function
I need to save chat history for an LLM in a session variable to avoid having to do it in a data-table per user. A session variable would just work wonderfully here. However, I have a generator ...