Skip to main content
-3 votes
1 answer
235 views

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 ...
Manngo's user avatar
  • 17k
0 votes
0 answers
22 views

We want to add an API call when we load a page to get an external value, which will be added to our session variables. However, after we do that, logged-in users find that they have been logged out. ...
tzvishmuel's user avatar
-1 votes
1 answer
124 views

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 $...
Keven M's user avatar
  • 990
2 votes
1 answer
103 views

I have a WooCommerce store specialized in renting out beach equipment. I added a dropdown menu to the checkout page where a customer can select for the order to be delivered or that they can pick it ...
Boris's user avatar
  • 45
2 votes
2 answers
46 views

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'] = "...
Abb's user avatar
  • 67
0 votes
0 answers
27 views

We are unable to get ci_session in React with a Node.js application from the CodeIgniter application. We currently have a running CodeIgniter portal and want to revamp a single page with React and ...
Rishabh's user avatar
  • 187
0 votes
1 answer
58 views

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 ...
User27's user avatar
  • 545
0 votes
1 answer
71 views

In my Flask app, I'm trying to display the progress of a backend task to the client. The client sends an initial request which begins the task. The task contains a loop, and as it iterates, it updates ...
Neckroll the 70th's user avatar
1 vote
1 answer
44 views

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. ...
Ian Young's user avatar
2 votes
0 answers
89 views

I am using the following code to change WooCommerce billing country to the selected site language. add_filter('init', function() { $lang = apply_filters( 'wpml_current_language', NULL ); $...
Nathan Otten's user avatar
0 votes
2 answers
53 views

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 ...
Herman Badenhorst's user avatar
1 vote
0 answers
37 views

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
0 votes
1 answer
54 views

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....
Arogya's user avatar
  • 3
1 vote
1 answer
282 views

I am trying to set a custom message when a user session has timed out. I managed to setup the timeout rerouting, but I struggle to include a message to notify the user. Here's part of the code that I ...
Derrick's user avatar
  • 49
0 votes
1 answer
114 views

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 ...
Jami Bailey's user avatar

15 30 50 per page
1
2 3 4 5
256