Questions tagged as 'session'

2
answers

Codeigniter session expiring after an action

I made an administrative panel using CodeIgniter and every time the session expires, thus redirecting to the login screen. Every time, for example, that I edit a category, after editing it and clicking another menu link, the system redire...
asked by 21.11.2015 / 21:00
2
answers

Is working with session safe? [duplicate]

Example, if I create a session session_start(); $_SESSION['nome'] = $nome; #valor pegado anteriormente. Can the end user see and edit the data in it?     
asked by 20.11.2015 / 00:58
3
answers

How does php guarantee a single session_id?

What algorithm is used to guarantee a single session_id() ? I would like to know how to create and verify to ensure that such an ID does not collide with an existing one? I need to create some hashes , but I'm afraid that one hour two...
asked by 04.04.2015 / 19:45
2
answers

Record session with javascript using cookie and a button

Hello, I put up a banner, where I need it when the user enters the site and clicks the GOT IT button it disappears and when the user re-enters the site or uploads another link does not appear anymore. Disappear I got it, but save the user with c...
asked by 18.12.2018 / 16:49
1
answer

How do sessions work at HTTP level?

I came across this question recently and did not find much about it in web . I'm used to working (and reading) about session in PHP , but I never stopped to think how they would be at HTTP level, someone would you know something about?...
asked by 20.11.2017 / 13:07
2
answers

How do I pass the session from context A to context B within Tomcat 05

I try two applications made in Java using Tomcat 6 and are in different contexts strong> but one interacts with the other because they are integrated, I need one to pass their session to the other context, or that contextA can set valu...
asked by 05.01.2015 / 17:10
1
answer

How to use session for authentication in MVC 4 with C #?

My scenario is as follows. I have an MVC 4 application. On my controller I check the logged in user and password. (I think) I put user data in a session after the data is verified and correct. My pages are cshtml (Razor). And I have a master...
asked by 02.07.2014 / 23:50
1
answer

Working with Silex sessions

Good evening, I have a question on how to add, change, and delete data in the Silex Session. His API documentation is very simple and unexplained. It is the following: I need to create a session containing an array of values I did so to...
asked by 06.02.2015 / 00:08
1
answer

Problem with Session and Nodejs

I am creating a chat with node and session , but I have the following problem: the user identifies and enters the room there all right. I am testing on 2 different computers. When I do a refresh on the page it assumes the session of the...
asked by 03.07.2015 / 03:33
1
answer

Manage variables with PHP session

I need to get the value of an input text to store it and use it on another page that pops up automatically when the form's Submit button is pressed. He can do this, but what is happening is that when I press the button the first time it does...
asked by 02.12.2015 / 13:27