Questions tagged as 'session'

1
answer

Product displayed is the smallest within the group (Criteria)

I have a function in the system that I'm developing that returns a batch list where the batch quantity is greater than zero, searching for the product name (foreign key). Until that point I have. When doing the search it returns me all lots of t...
asked by 18.03.2016 / 00:35
1
answer

Extend PHP session using .htaccess

How to extend a session in PHP using .htaccess? I used this code below: php_value session.cookie_lifetime 28800 php_value session.cache_expire 28800 php_value session.gc_maxlifetime 28800 But I believe it did not work, so, how can I chec...
asked by 30.10.2017 / 19:32
1
answer

Application stopping when there are many users accessing

My application is crashing and I do not know exactly why. The only thing I notice is that when there are many users accessing, or making requests this happens. When it happens, I have to restart the application pool and lift the application a...
asked by 16.03.2016 / 15:04
1
answer

CakePHP loses SESSION after a redirect

I'm doing an integration with Facebook Login. When the user clicks to log in using Facebook and accepts the application it is redirected to a method that creates a SESSION and redirects. The problem is that the data in this SESSION gets lost...
asked by 26.01.2014 / 22:30
1
answer

How do I know if a session already exists on a system? [closed]

I have an application where the user can only be logged on to a device at the same time, how can I make this restriction? I use the Parse.com service, it provides an API for exchanging data between an app and the cloud. Example: I created...
asked by 10.09.2015 / 22:13
1
answer

Fill in PHP session via ajax

I'm having trouble solving a problem. I have a PHP application that needs to fill in some sessions I'm using this method to send. <script src="localhost:8080/painel_cop_mdu/js/jquery-3.1.1.min.js" type="text/javascript"></script...
asked by 15.12.2016 / 16:05
3
answers

Asp.net MVC Session ends

I have an ASP.NET MVC 4.0 application on a KingHost server. In my web.config I do the following: <sessionState timeout="1000"></sessionState> <authentication mode="Forms"> <forms loginUrl="~/Logi...
asked by 10.07.2014 / 03:10
0
answers

Django session timer countdown

I have this in my login screen: SESSION_COOKIE_AGE = 1200 # 20 minutos and would like to show the remaining time in my template. Does anyone know a good middleware or package for Django that adds a missing timer to logout. I did not fi...
asked by 13.01.2015 / 21:49
4
answers

ObjectCache to make a variable available to all users

I have an application in ASP.NET and would like to cache all users as if the variable were in the pool application and everyone had access, something other than the session that makes the section variable for each user. ObjectCache...
asked by 08.04.2015 / 15:47
1
answer

Sessions in PHP

I'm working on a system that has a 'search filter' on the home screen. For that, in my header I put a select / combo box and an 'OK' button. To handle this I decided to use sessions, where I can save the value that the guy chose and use on al...
asked by 19.09.2014 / 05:20