Questions tagged as 'session'

1
answer

Problems converting Session to Class in C #

I have the following variable List<MyFile> xmlDisponivel = new List<MyFile>(); This variable is a list of the following class public class MyFile { public string FileName { get; set; } public string FilePath { get; set...
asked by 21.02.2017 / 15:32
1
answer

Create session on https with http ajax request

I'm developing a website where the client side initially accesses http until they log in. The login is done by the http itself with an ajax request that calls the php script in https and in this script a $ _SESSION with the user data is created....
asked by 19.06.2016 / 16:58
0
answers

How to configure the correct Codeigniter session in the current version of it? [closed]

Well, to be more specific, my problem with Codeigniter sessions started to occur after I changed my Xampp to a more current version (v.7 ...). When it comes to code / project I did not do it if you want some change, what could it be?     
asked by 10.11.2017 / 20:26
3
answers

How to check if a session ($ _SESSION) exists or is active in PHP?

Is there a native function of PHP that you can use to check if a session for a particular user is open? For example, I have a $_SESSION['usuario'] = "400379d4eaa6ec24826dd44cd5cf65a3" and I want to see if it is active on the...
asked by 01.03.2016 / 17:04
0
answers

Session "Leak"

Something strange happened while we were ratifying the system on the NET. Well, every time a user logs into the system, I store his ID as follows: $_SESSION['usuario']['uid'] = $id_user; and direct it to index.php header('location:inde...
asked by 13.11.2014 / 15:02
2
answers

Know all $ _SESSION

I have a question and I searched and found in no corner an answer, I was wondering if it is possible to give echo $_SESSION and know all the session that my browser has at that moment and if yes like?     
asked by 12.07.2018 / 04:21
2
answers

global variables php [closed]

Hello, I think this is simple, I'm working on a project where I need to start 3 strings on 80% of the system pages in php, so what would be the best method for the user to just change the text in one document, and I can perform inclusion on all p...
asked by 05.07.2017 / 01:52
3
answers

Problems with session_start () [closed]

I'm having trouble with my PHP code for User Login . This code is working on local machine, however I went up in my amazon instance and the moment I log in the user the server does not authenticate the session. The login.php page is in a subdom...
asked by 22.12.2014 / 23:23
1
answer

Django session, issue: Object of type '' is not JSON serializable

I am creating a student but when I try to save it inside a session, it returns the following error: Object of type 'Student' is not JSON serializable No settings.py: INSTALLED_APPS = [ 'django.contrib.admin', 'django....
asked by 21.08.2018 / 20:36
1
answer

How to prevent pages from being loaded by the browser after logout

I'm trying to make an academic site where users need to log in (login page: pagina.php) and will be directed to the page (nome.php) where the connection is made to the bank and if the registration goes to the page site.php, and then where will l...
asked by 31.01.2018 / 19:23