Questions tagged as 'session'

1
answer

When the login is done a message appears

Hello, I wanted to know how to do when the user logs in, a message contained in this code appears: <div class="alert alert-success" role="alert"> <strong>Login realizado com sucesso, aguarde o carregamento.</strong> </di...
asked by 08.12.2016 / 13:13
1
answer

CodeIgniter: Session re-created after page reload

I have a system where a session is created for the user after login, the problem is that every access I make to the site a new session is created and the data recorded are deleted, I configured the session as autoload and the settings are : $c...
asked by 09.12.2016 / 18:33
1
answer

User to log in has 2 types of menus and before that the system must understand if it is logged in or not to display another menu [closed]

Personal in my code above, I'm trying to display 2 types of menu for the user, when logged in, not logged in, in case when logged in he still assembles another menu comparing which type of user is logged in, if it is a user simple or advanced us...
asked by 16.11.2016 / 19:50
0
answers

Turn RowDataPacket into object to create login session

Good morning. I'm making a node.js application that when logging in should save user attributes (database attributes like name, surname, email, id, etc). But when sending display on the screen, it does not report errors but also the user name...
asked by 04.10.2016 / 15:16
2
answers

Problem: Session does not work on some browsers / PCs

Hello, I would like some guidance, or the direction of the path that I must follow to solve my problem. I'm having trouble with the Session on some PCs and phones. For example: PC-A (Ubuntu): works PC-B (Win7): works PC-C (WinX...
asked by 20.09.2016 / 20:05
0
answers

Search at Oracle Bank forfeiting session

Good day dear, I'm having serious issues with using the Oracle database and losing the session. The scenario is as follows: thousands of queries, some crash and when we will see if it is still running, they are no longer in the bank. This hap...
asked by 26.09.2016 / 14:30
1
answer

Customizing data from a session array in codeigniter

I'm trying to create an array with the data I retrieve from the database, my code is like this $usuario = $this->input->post("usuario"); $senha = $this->input->post("senha"); $this->db->select('id','usuario','senha','tipo');...
asked by 11.07.2016 / 22:14
1
answer

PHP and Javascript - Automating print function of a page from another page

On my site, it has a screen for querying registered events. For each one, I have the Edit Event option, which redirects me to a form: function editaEvento(val){ var valor = val; location.href = "http://meusite.com.br/edicaoeventos?valo...
asked by 22.06.2016 / 20:36
0
answers

Problems with User Session in PHP

I have a system of bets, in this system I have dealers to sell the bets, and they earn commission for it. The problem is: When many resellers are online selling and posting bets on the system, at some point the dealer's betting line 1 is regi...
asked by 22.06.2016 / 16:23
0
answers

How to use session in php android

I'm creating an android app, where when run it asks login and the user The android checks login and password in a web service done in php until all is well, everything is running right .. but when I ask the database to perform a select...
asked by 01.04.2016 / 13:17