Questions tagged as 'session'

1
answer

store SQL query in Session for further processing

I would like to store a SQL query in a session, that is, all fields and their values. I'd say there are 12 fields, and about 150 records on average. The idea is not to query the database every time you need it, but only once and the others...
asked by 31.10.2015 / 21:57
1
answer

Laravel session does not work on another page

I'm working on a project with laravel, in it I created a session variable that takes a parameter from the url as follows: if(!empty(Input::get('lang'))){ $lang = Input::get('lang'); Session::put('lang', $lang); } else { $lang = "e...
asked by 05.04.2016 / 20:52
2
answers

Restrict access to a folder on the server after being signed in

I have the following problem: I have 1 application used by 5 users ... For each user there is a folder on the server, because for each one there is a configuration and some files are different, so the authentication links are:    user1 = w...
asked by 07.10.2015 / 17:20
2
answers

Problems with PHP session - Continue a session

I'm setting up a client site and I need to do login control. The user can log in normally and without error, but sending it to the main page when he is logged in is as if he had not logged on. Here's my code:    login.php <form class="f...
asked by 11.08.2015 / 22:57
1
answer

Session error in user-level validation

Well, I'm doing a simple dashboard with user level where I move to the session with an array of three values, so that's fine, the functions that validate the form, validate the user of the database, if the user is logged in or not, function that...
asked by 27.02.2015 / 19:23
1
answer

Doubt with JavaEE sessions

Is it possible to get a list of open sessions ? Not the amount (sessionlistener), but the sessions themselves so I can find values in their attributes.     
asked by 28.11.2014 / 20:45
1
answer

Session in database

Thinking about the scalability of applications developed in asp.net-mvc , I looked into alternatives for not using "session in memory". I saw that it is possible to save the session data to the database and use SQL Server as the state server...
asked by 14.02.2014 / 00:49
1
answer

How to prevent a JSESSIONID from being created when accessing a JSP page?

I created a simple JSP page, which does nothing but call a servlet to validate a login. Here is the code for page index.jsp : <%@page contentType="text/html" pageEncoding="UTF-8" %> <!DOCTYPE html> <html> <head&g...
asked by 10.03.2015 / 05:32
0
answers

Prevent grouping of PHP sessions

I have a system in PHP that uses sessions to store the items, I noticed recently that when the user simultaneously opens 2 browser tabs when completing the request the system groups or understands that the session is only one, what is the best w...
asked by 09.05.2018 / 19:29
0
answers

SPA Application in VueJS - Use Session or not?

I'm starting with single-page applications with VueJS . The question is about the control of users. Do I use session for this or not? For me to know how long the user has logged in, do I record this session somewhere or do...
asked by 28.06.2018 / 13:49