Questions tagged as 'session'

0
answers

How to share user sessions between two different domains?

I do not know if my question is correctly formulated, but I have 2 domains. example: site1.com and site2.com on the same apache server. Then, both show the same website. but if I log on site1.com, I do not log in to site2.com and if I then start...
asked by 20.05.2018 / 14:08
0
answers

Socket.io cleans the req.session session

I have an app that uses express, express-session, socket.io and socket.io.streams. The client connects to the server using:    socket.connect ('/ namespace') But when the connection is achieved, my req.session object remains empty. Does a...
asked by 19.05.2018 / 21:54
0
answers

PHP session variables

I am trying to make a login that takes several pages if you log in. I want to put a session variable, but I do not know how it works. I have this code: <?php session_start(); require('../Funciones/funciones.php'); ////Datos db $usuario =...
asked by 21.05.2018 / 12:47
0
answers

User authentication in a SPA without Sessions

I am developing a SPA application (Single Page App) in angular 4 (its backup is done in ASP Web Api but that is not relevant). I need to create an authentication mechanism with the server to make sure the user is valid without using sessions ( H...
asked by 16.05.2018 / 17:44
2
answers

Session handling in PHP for Login

I have an application in php with functional login and a few cruds, but the problem I have is that in the front controller I want to place a conditional with a session variable to detect if it is authenticated I can access the cruds, if not redi...
asked by 01.04.2018 / 22:43
0
answers

Lack of data when saving array in a $ _SESSION

I'm doing a program that generates a template automatically, I'm using laravel and PHP 7.2. I am saving an sql query in an array and then saving it in a SESSION, everything up to there works fine, the problem is that when consulting the data...
asked by 30.03.2018 / 17:49
0
answers

because it says that the code is not defined if it is a variable that I take from the database?

I'm trying to access my pc with the ip address, and it normally leaves me, but I install a virual machine on my pc and when I put the ip of the virtual machine I get this error, 3 more errors come out but they are all similar to this, they put p...
asked by 28.03.2018 / 17:02
0
answers

Share Session between a Codeigniter Subdomains and Other in Pure PHP

I have a two subdomain (one.mismodomino.com and two.mismodomino.com) the first is done in PHP call it "Pure" and the other is done in Codeigniter, both work normally but I want to share a session between both subdomains for example the $ _SESSIO...
asked by 08.03.2018 / 15:30
1
answer

Avoid session tracking in Java

How can I avoid session tracking ?. Since I have an application every time you enter the login page remember the password and contraseña . To go to the page of login I use response.sendRedirect("login.html");...
asked by 19.02.2018 / 17:22
1
answer

Session problem: Apache (Proxy) + Tomcat 7 + Spring Security + Remember-Me cookie

Why does the user session not work correctly when it expires and is retrieved by the existing remember-me cookie? I have a strange error when I enabled the option to remember-me in Spring Security. When the session expires it does not redir...
asked by 22.11.2017 / 15:11