Questions tagged as 'session'

2
answers

Users access sessions of other users

Good evening, I tell you my problem. I have an app developed in PHP with Codeigniter running on a web hosting in Wiroos. Everything was working correctly, but as time passed, the application was having more users who access simultaneously (obvio...
asked by 10.11.2017 / 03:21
1
answer

Elseif or else? problem when closing the session.

I have a system of logueados users, when they leave the session (logout.php) the div of My user account does not disappear. The idea is that if you logout, the login and registration buttons will be displayed. I have tried with an elseif...
asked by 23.10.2017 / 20:06
0
answers

Problems with my counter when trying to login - php

I have problems with my accountant in the form I made. Just tell me one attempt and not the others that are necessary so that access can be blocked (2nd and 3rd attempts). This is the only thing I need to finish my project. P.S. ignore the inclu...
asked by 13.10.2017 / 12:40
1
answer

Create or delete php session

I want to know how to delete the sessions in PHP, I want to make a copy of my application, and the index.php shows me that the session has finished and that I must log in again, thanks. <?php include('configuracion/conectar.php');...
asked by 25.08.2017 / 18:21
0
answers

Codeigniter read session value from a controller in the view - Percentage of progress

I have the following code in a view: function getstatus(){ base_url = '<?=base_url()?>'; var percentage; $.ajax({ url: base_url+"teleinforme/getstatus", type: "POST", dataType: 'json', succes...
asked by 16.11.2017 / 19:45
1
answer

The Page is not redigating properly

I explain here they have helped me to do a controlled login at the moment everything is fine to some extent when adding security.php to the index of the module tells me the browser that is redirecting wrong I do not know because if it has the co...
asked by 22.08.2017 / 17:41
0
answers

Does Cron Jobs accept session_start ()?

My code starts like this: <?php session_start('teste'); require '../Meli/meli.php'; and this answer me:    public_html / php-sdk-master / examples / logaem.php: line 1:? php: No such   file or directory       public_html / php-sdk-m...
asked by 01.08.2017 / 04:16
1
answer

Sessions php and cookies (laravel)

Can php (laravel) sessions be used or started if browser cookies are disabled? The problem is that when I disable cookies in my browser and send a form I get the following error:     TokenMisMatchException     in VerifyCsrfToken.php (line 68)...
asked by 15.06.2017 / 17:34
1
answer

Log in PHP7

I have a mysql bd in which I have a user with an encrypted key. The registration form is this: link I have a big mess of concepts. My script is as follows: <?php $usuario = stripslashes(trim($_POST['nombre']));; $pass = strips...
asked by 24.06.2017 / 23:51
0
answers

Show all users online in Laravel 5.4

I'm wanting to show all the users currently connected and I came up with the following way, which I do not know if it's the right one. First I detect the event when the user logs in and redis sets a session variable: Redis::set('user:id:' ....
asked by 16.06.2017 / 15:08