Questions tagged as 'session'

2
answers

Sessions from different systems on the same server

Scenario (example) I have 2 systems: Bakery System Posto System Details The database is separate , then each system with its users and passwords. There is "regular user" between the 2 (eg john.silva) Problems If I do...
asked by 10.01.2018 / 11:52
1
answer

Good practices for a login system Sessions / Cookies

I would like to know some important points when it comes to making a login system: Sessions Cookies Which one is most appropriate for security issues? Which uses less server resources? (case in a large application) Which is the f...
asked by 06.08.2016 / 21:06
1
answer

Set time to expire $ _SESSION

How to adjust the time to expire $ _SESSION? attempts .. Include in top of files (worked in localhost offline) ini_set('session.gc_maxlifetime', 3600); // 1 hora ini_set('session.cookie_lifetime', 3600); session_start(); And also se...
asked by 17.03.2015 / 20:31
1
answer

How to check if a session exists (CodeIgniter)

I have the following function in my Controller : private function SetImageAndColor($client_id) { if (isset($_GET['color']) AND isset($_GET['image'])) { $dados['click2call'][$client_id]['image'] = $this->input->get('imag...
asked by 20.03.2015 / 14:10
1
answer

Disconnect user when entering another account [closed]

Hello, I would like to know how to disconnect a user if he enters another account in the same browser with the same IP, use PHP session, if you can help me thank you very much !! Because the user can log in as many accounts as he wants.     
asked by 28.07.2016 / 05:45
2
answers

Session C # how does it work?

What is the lifetime of a Session in ASP.NET MVC, and how do I find out how much time is remaining and how to add more Session time (if at all possible)? Is there another form of value guarding that is more performative?     
asked by 02.03.2016 / 19:10
2
answers

Secure Login with Remember [duplicate]

I need help with a login script. The problem is that the session automatically expires after a certain downtime. I'd like to increase the native session limit of my pages because the user needs to stay logged in on the system all day, and...
asked by 21.01.2016 / 02:44
2
answers

What problems will I have in using ob_start () and ob_end_flush ()?

My application is a site for a real estate agent and I'm having trouble with a resource developed with a shopping cart-like session to add more than one property to a single proposal. The problem that is happening is that when selected a propert...
asked by 01.10.2015 / 15:56
1
answer

Codeigniter Session Error:

This system error appears in codeigniter. The errors pointed out by php: ini_set('session.use_trans_sid', 0); ini_set('session.use_cookies', 1); session_start(); Standard Driver       class Login extends CI_Controller {...
asked by 16.05.2016 / 19:05
1
answer

Problem with session in the servet

I have the saida.jsp . It is my page that depending on the option chosen by the user, it is mounted one way. I have two options for user verbs and adverbs . If the user clicks the verbs option it will be redirected to the saida.jsp page...
asked by 20.01.2015 / 20:00