Questions tagged as 'session'

1
answer

sum php mysql $ SESSION_START

Good morning, I'm new to the topic of sessions in PHP , and the inconvenience is that I do not know how to add data that is in the session and not inside the DB. I already tried several combinations to make the array run and add the tot...
asked by 02.05.2017 / 02:38
1
answer

Accents in session flash de laravel 5.2

It turns out that I am sending messages to the views, through the class Session and its method flash documentation: Session-> Flash But at the moment of sending an accent, in the view it brings me the code as if it did not hav...
asked by 13.04.2017 / 16:40
0
answers

Classic ASP do a task every 5 min only 3 times

Good morning, I need in classic asp to make a script using the session variables, do when a certain variable is true, 3 times an action and between each of the times you must spend 5 minutes, I have been thinking for days I would do it without i...
asked by 21.02.2017 / 12:52
2
answers

Problems with Session CakePHP

Dear good afternoon, I would like to comment on a problem I have based on a system developed in cakephp version 2.4: It turns out that for some reason or reason CakePHP deletes the sessions without any reason, check the driver, js, html and e...
asked by 14.02.2017 / 20:15
0
answers

Error Message: session_start (): Can not send session cache limiter - headers already sent CodeIgniter

What happens is that when I upload my page to a hosting the following error is coming out, and thanks in advance. A PHP Error was encountered Severity: Warning Message: session_start(): Cannot send session cache limiter - headers already sen...
asked by 17.02.2017 / 13:57
2
answers

How to get attribute of the one session Java, Spring

I want to create a final variable, but get its value from a session started, for example final static String variable = (String) new HttpServletRequest.getSession().getAttribute("codigoVerificacion"); I hope you can help me, sinc...
asked by 14.11.2016 / 22:04
1
answer

Keep an active session with front-end angularjs and php backend [closed]

I am developing a SPA application in angularjs and the backend is done with PHP. The problem is when a user does not use the application for some time and the session expires. At that moment the request is made to the backend and since I am savi...
asked by 14.03.2017 / 02:36
1
answer

The name "Session" does not exist in the current context (WPF)

Good, I have a desktop application that I'm doing in WPF in Visual Studio and I need to store the identification of a patient in a Session variable to be able to use it in other windows of the application but when I try to create it I get the er...
asked by 13.01.2018 / 18:33
1
answer

Warring: mysqli_query () expects parameter 2 to be string, object given in

I leave the code so you can help me: <?php session_start(); include ('Connections/conexion2.php'); $arreglo=$_SESSION['carrito']; $numeroventa=0; $re=mysqli_query($con, "SELECT * from compras order by numeroventa DESC limit 1") o...
asked by 11.06.2018 / 04:14