Questions tagged [session-management]

Use tag when there are questions specific to session management in any domain (web, mobile, etc)

As per introduction of a Session:

Session management is the technique used by the web developer to make the stateless HTTP protocol support session state by making use of session variables.

For example, once a user has been authenticated to the web server, the user's next HTTP request (GET or POST) should not cause the web server to ask for the user's account and password again.

298 questions
0
votes
1 answer

How can I unset the session of a specific user?

I have a session like this $_SESSION['login'] and when it is equal with 1, it means the use is logged into my website: if ( $_SESSION['login'] == 1 ) { // You are logged } else { // login/register } Also I have another session which…
stack
  • 10,280
  • 19
  • 65
  • 117
0
votes
1 answer

Measuring Web application session resource consumption

I have this web application that i have created using Wicket, Guice and JPA. I would like to advise my clients on the resource consumption of the application so that i can also advice him on the optimum hardware to purchase. What is the best way of…
0
votes
3 answers

Why do we call session_start() before any other content in the web page?

I want to know why do we call session_start() before any other content in the web page?
0
votes
1 answer

Having trouble in Session management

i m working on an application and i want to make user login only when he/she logouts his previous session but i m unable to do it. whenever i close my program and re-open it. it directs to Homepage again even if i had'nt logout. plz package…
0
votes
0 answers

Issue with PHP sessions and manager

I am attempting to create a session manager for my application to access multiple methods on sessions easily and in a more flexible way, however for some reason I am getting an error every so often which I believe may be related to the garbage…
mhvvzmak1
  • 307
  • 2
  • 12
0
votes
2 answers

Perl: 302 Redirecting to another cgi script

For an assignment I'm building a web application that starts with a user logging in. After logging in a session is created, but upon refreshing, new session IDs are being created, so state isn't being preserved. I've read about using the…
Ybarra
  • 175
  • 3
  • 12
0
votes
1 answer

How to do user authentication in angularjs with Spring MVC

I am using spring MVC framework in back end as REST(JSON/XML). In front end i am using angularjs for rendering the UI. I done with CRUD operations (Like get,add,update,delete). And i added the user authentication in angularjs with spring security…
0
votes
0 answers

does session persists between server hops

Lets say we have server A where a user has maintained a session and on some particular actions he is taken to a different server say B. So if he comes back to A within the session expiration time will his session with A persists or not?
sid297
  • 55
  • 2
  • 9
0
votes
1 answer

Memcached and Tomcat 8 Session Manager Issue

We were using Memcached for session management in our web application with Tomcat 7 and it worked liked charm. In order for it work, I added following jars to Tomcat's lib folder spymemcached-2.8.12.jar …
0
votes
0 answers

How to config a PHP application to support session control during load balancing via AWS?

I'm looking for guides, advice, or samples of how to develop and config a PHP app that support load balancing on AWS with Apache, how to control session between load balanced server. I've never load balanced servers before. My PHP app will be a web…
0
votes
1 answer

Lost session after redirect virtual TPV (bank payment)

I redirect logged users from my site to a bank payment system. After the user has completed the payment, he is redirected from the bank site to my site, however, in many cases, the session is lost. Any idea? Here is the logg…
Jose
  • 55
  • 8
0
votes
1 answer

GWT-Session management using RPC

I have been working on GWT session management for quite sometime but couldn't make it work. Session management in GWT client side. This is my previous question on the same topic. I understood the concept of session management but there is something…
0
votes
1 answer

In spring security 4 ,concurrent session not redirecting to expired url

In spring security 4 ,concurrent session not redirecting to expired url,instead it redirects to failure authentication url. Following is the java configuration code snippet. /*start of code*/ public class SecurityContextConfig extends…
Viral B
  • 3
  • 5
0
votes
2 answers

Do I need create a session in my code to run parallel tests in Jenkins ?

I am about to run parallel tests on my automation project (I am using Jbehave), but I would like to know if I need create a session management (Thread managements) in my code or if Jenkins can do this for me. Thank you !
0
votes
0 answers

How to Manage sessions in SQL Server in Asp.net MVC

I have one solution, which has multiple projects in it, in which some projects are developed using web form, MVC. I need to share the session data between these projects. For this, i have used SQLServer Mode in session state. I am…