Questions tagged as 'session'

0
answers

Java Session, JsessionID changes

I have a webpage that requests a Servlet via Ajax. In the servlet I create a session to keep the employee authenticated and to identify it inside the system. However, when I exit the system, I put the Html / css / javascript screens on ano...
asked by 03.05.2018 / 05:45
0
answers

Wildfly 11 does not replicate the session between different hosts

I'm setting up an environment with a nginx (reverse proxy) and two machines with WildFly in Domain and clustered mode, but when a wildfly server is disconnected the session is not replicated to the other host. If the server is on the same host i...
asked by 26.04.2018 / 21:23
0
answers

Where is it best to store sessions? [duplicate]

Would you like to know the best way to store sessions? In memory; On disk; In cookies; In database. Which of the above is best and why?     
asked by 24.03.2018 / 22:38
1
answer

Why $ _SESSION is not accessible on another page

In my site I have a profile page, when the user logs in he is redirected to the perfil.php page, this login is done on the entrar.php page. Then on the page I enter: login.php <?php include "controller/functions.php";?...
asked by 16.03.2018 / 01:04
1
answer

Save data for a search on a page

I have the following situation: I have a simple PHP page where I have a search filter that allows me to search for Status, CPF / CNPJ, Company Name / Full Name, Start Date and End Date. After running the search, the system brings me back into th...
asked by 17.03.2018 / 16:03
0
answers

Increase SESSION lifetime in PHP

I built an API using PHP to use it with Applications. When I exit the application (without my closing or logging out) after a while, the session expires, making application activity inaccessible and returning errors. How do I stop this SES...
asked by 09.03.2018 / 19:18
0
answers

Function that stores session does not work when requested via post. Laravel 5.4

I'm having a problem inserting a session using Laravel 5.4.36. Next: when I insert the session via get (getUserSession function) it works perfectly. When I insert the session via post (vulgo putUserSession) it simply does not insert the data. Th...
asked by 05.03.2018 / 20:27
1
answer

Register user's date, time and IP in Login

Hello, I have a problem in which I can not find a solution (and I'm still a layman in PHP to help), I've reviewed the internet and found nothing that could help me, I have a PHP login page where checks if the user exists in a table, if it exists...
asked by 14.02.2018 / 17:50
1
answer

Error Page Dashboard PHP - Cache limiter session start [duplicate]

I have problems on my site, in netbeans the site worked perfectly, however when doing hosting on the site br.000webhost.com for tests, it happens that on some pages I get the following message: Warning: session_start (): Can not send sessio...
asked by 13.02.2018 / 14:03
3
answers

How to restrict one page access to logged in users?

I am a login system and register with 2 levels (1 corresponds to the common user and I want it to be redirected and level 2 is ADM, ADM has no problems). Can get the regular user to redirect to the site, but still has a failure to access the sit...
asked by 11.02.2018 / 08:47