Skip to main content
3 votes
2 answers
44k views

import requests headers = { 'Accept':'*/*', 'Accept-Language':'en-US,en;q=0.8', 'Cookie':'Cookie:PHPSESSID=vev1ekv3grqhh37e8leu1coob1', 'Cache-Control':'max-age=0',...
2 votes
3 answers
3k views

I'm new to express and I'm trying to save some data in session and then retrieve it in another query. My client app is an AngularJS app. var express = require('express'); var path = require('...
4 votes
1 answer
9k views

This is a screenshot with the error dump: I occassionaly get this error while browsing a website i am developing. Obviously session can't be started but i have no idea how to prevent this error ...
Best practices
1 vote
0 replies
29 views

I’m integrating an internal SSO (OAuth2) into a web application using Gin (Go), and I’m a bit unsure about the right place to create the application session. The SSO is the only authentication ...
0 votes
2 answers
208 views

This article states that if we use 2 transactions one for getting first data and afterwords to get the lazy fields, we won't run into any problems since the session is reused and the session itself ...
22 votes
2 answers
8k views

The Setup We’re building a PWA (progressive web app). The main components are the app shell (SPA) and the API. The REST API will supply the data needed for the app, while the SPA will handle the rest (...
0 votes
4 answers
12k views

I have a few questions about cURL: Do I need to use session_start() with cURL? If not, how do I get the session_id() from cURL? When is that session_id() generated? What's the difference between ...
1 vote
0 answers
22 views

I have these two methods responsible for adding users from another system in that system. private function api_login($email, $password){ $curl = curl_init(); curl_setopt_array($curl, [ ...
0 votes
0 answers
398 views

I'm making website using web framework that is codeigniter. When i use session, It doesn't work. So i visit codeigniter forum that is also made up of codeigniter. Then i login that site. But same ...
4 votes
1 answer
16k views

My current version of ci is 1.7.2 but ehen i am using $this->session->unset_userdata('uid'); $this->session->unset_userdata('email'); $this->...
2 votes
0 answers
139 views

** in codeigniter How do i check if user logged in is male or female by using session id to compare data from $this->brid_groom_fetch->get_program_specific_gender() function** public function ...
0 votes
3 answers
9k views

I want to Assign session variable using JavaScript. I find this code that works fine function SetUserName() { var userName = "Shekhar Shete"; <%Session["UserName"] = &...
0 votes
1 answer
1k views

I've got an assignment where we're supposed to create an eCommerce website that pulls products from a database, lists them and allows you to add them to a cart, though only a single quantity of the ...
8 votes
1 answer
12k views

This is perhaps the same question as Session data lost in Chrome only and related to Randomly Losing Session Variables Only In Google Chrome & URL Rewriting There are no solutions there that will ...
1 vote
2 answers
513 views

Can't access array but var_dump() sees it. session_start(); include './entities/Answer.php'; include './entities/Question.php'; include './Database.php'; if (isset($_SESSION[&...

15 30 50 per page
1
2 3 4 5
2950