Questions tagged as 'session'

1
answer

Alert message in SESSION

I have a system that works perfectly on the computer (A) that was developed and, when passing the computer (B) server with the same settings, the same version of EasyPHP and etc, presented many but many errors. One of these errors is immediat...
asked by 16.11.2017 / 12:04
1
answer

Missing Session after requisition

Well guys, I have a problem that I have not been able to solve until now. It only starts to occur after an ajax request , where I generate a document and return it to url in a json , to be fetched in javascript , be assigned to a link and b...
asked by 16.11.2017 / 13:16
1
answer

Session with IList in ASP.NET mvc5

How can I create a Session with values of an array of type IList in ASP.NET MVC5? If you have, how do I do the foreach to get this information in the html of the view?     
asked by 20.10.2017 / 20:42
1
answer

Write to the Session of a Linked Link and destroy another session to do site translation

HowcanIdothatwhenclickingonsomeflagitsavesinasessionthedatareferringtoitslanguageBrazil==>writesinthesessionthestring"br" United States == > writes in the session the string "uses" and clicking on one destroy the other Estou indo p...
asked by 05.10.2017 / 20:07
2
answers

$ _SESSION login problem, $ _SESSION ends alone [duplicate]

My login system is not working ... In my project I have a file called cabecalho.php <?php ob_start(); //abrir sessao session_start();//iniciar sessao error_reporting(0); //ignorar alguns erros include("Pdo/conexao.php"); //conex...
asked by 06.09.2017 / 18:27
2
answers

Session does not work as expected in Ajax and PHP request

Well I have a main page index.php where the person performs an action and performs a POST with Ajax request. In this main file I create a session with some data that I want to keep more secure and not be visible and others for confirmations....
asked by 12.08.2017 / 21:21
0
answers

Private variable being added to the session automatically php

I'm going to try to explain the problem, but I've already found that I can not find words to search for what happened: I have a user.php file <?php class Usuario{ private $grupoPermissao = array( 'superAdm...
asked by 25.07.2017 / 13:27
0
answers

Php Sesssion Do not pull image

<p><img src="<?php echo $_SESSION['picture']; ?>" alt="" style="width:50px;height:50px;"></p> <p>Bem vindo <?php echo $_SESSION['username']; ?></p> <p>Esta Area é segura.</p> <p&...
asked by 08.07.2017 / 22:16
1
answer

Error: Could not process type 'xxx []' because it does not have any known mappings at the value layer

In the controller I have my session built. public const string ListaPermissao_SessionName = "ListaPermissao"; private List<ListaPermissao> ListaPermissaoEnvio { get { if (Session[ListaPermissao_SessionName] == null)...
asked by 06.07.2017 / 16:34
0
answers

Pull user information logged in without using Auth :: user ()

I have an application developed with Laravel that has some small .php files in the public folder that are loaded in a given view. I need to pull user information logged in to these files, but I could not get it with Auth :: user (). How can I...
asked by 18.05.2017 / 16:19