Questions tagged as 'session'

1
answer

Colapse Menu after page refresh with localStorage

How can I close a menu and keep it closed after the refresh of the page using jQuery only? It would be something like in this link . When you click the menu, the menu is reduced and so remains after the refresh page. When you click the...
asked by 16.04.2014 / 23:34
1
answer

Is it possible to define a connection pool for each user in an oracle database?

I searched the oracle documentation and found only ways to change the image, but nothing about creating another. Does anyone there know if it's possible what I'm ordering? And how to proceed? Thank you in advance. Att Harisson Ford A....
asked by 19.05.2016 / 17:33
2
answers

Which is safer: session or cookie? [duplicate]

Thinking about security , what is the best option to keep the user logged in in an ASP.Net MVC application, cookie or session ?     
asked by 07.03.2016 / 15:03
2
answers

How to save two variables from a JS in php session?

I wonder if there is a way to save these two variables. Here is the code: <script type="text/javascript"> function opcao() { $(document).ready(function() { var empresa = $('#Empresa op...
asked by 18.05.2016 / 14:30
2
answers

What is the best way to sign in with Angularjs?

In an app using AngularJS and Ionic, what is the best way to authenticate to an API? Do I check login on all screens or do I use some session engine? I guess authentication on all controllers may consume too much data ... What is the best way...
asked by 06.02.2016 / 19:43
2
answers

Keep data between sessions

I have an ASP.Net MVC project where I generate a report that requires a lot of the machine's processing feature. I have a Action that generates and another that returns the report data in an Object List, so I thought that by creating a...
asked by 13.09.2015 / 14:58
1
answer

"keep connected" / "remind me" option in login screens

I'm implementing a login screen and my client asked to add a "Keep Connected" checkbox below the login credentials. Ok, adding is easy. But what is the correct behavior for this functionality? Is there any default behavior for these cas...
asked by 06.09.2015 / 06:15
1
answer

How can a WEB application that uses OAuth for authentication manage the user session?

Usually sessions are used to maintain data of a certain user after he has logged into the WEB application, and it is the WEB application that is responsible for the control and management of this data stored in the session. It can use this to id...
asked by 12.06.2017 / 20:22
2
answers

Different session in browser tabs

I'm having trouble logging on to a system. What happens is the following: I opened the browser, accessed the system URL and logged in. At this point the "X" session is created. I opened a new browser tab, accessed the URL, and logged in wi...
asked by 30.09.2015 / 13:47
1
answer

Problem creating "Zend_Session"

I'm trying to create a session in Zend as follows: if (isset($_POST['login'])) { Zend_Session::start(); $session = new Zend_Session_Namespace(); $login = explode('-', $_POST['login']); $codigo = $login[1]; $banco = $admi...
asked by 24.01.2014 / 00:05