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
2
votes
2 answers

Session Id Management in Servlets

I am having some issues with my web application while doing a performance test with Jmeter. My question is not around Jmeter instead, it's around a simple Servlet session management behavior. So we have a web application, where in when you request a…
Priyank
  • 14,231
  • 18
  • 78
  • 107
2
votes
0 answers

Override session with spring security 3.1

I am using spring security 3.1 and I want to implement a session override feature. If a user logs into the application and if he tries to login again (say a different browser), then he should be redirected to a page which asks him if he wants to…
AmanMohla
  • 129
  • 1
  • 6
2
votes
1 answer

Jetty and custom sessionIdManager

In order to have custom session storage I have implemented a custom sessionManager (by extending NoSqlSessionManager) and sessionIdManager. My code (along with jars it requires) went into ${jetty.home}/lib/ext (version 8.1.4 BTW). With start.ini i…
Jacek Prucia
  • 1,026
  • 2
  • 12
  • 22
2
votes
2 answers

Useing Oracle 10g database for ASP.NET session management

I am developing a web application. For some reasons, I need to use external storage for storing session state. As I am using Oracle 10g as backend database, can I use same oracle 10g db for storing session state also? Thanks in advance..
Sumit Deo
  • 2,196
  • 2
  • 15
  • 12
2
votes
2 answers

How should NHibernate session be handled in Nancy for session-per-request?

Really, my my question is in the title... How should NHibernate session be handled in Nancy for session-per-request? If you've got a good answer for that in and of itself, go for it... if you need more background, here it is: I am accustomed to…
Byron Sommardahl
  • 12,743
  • 15
  • 74
  • 131
1
vote
1 answer

Can not understand the session object behavior

I am confused on the documentation of the javax.servlet.http.HttpSession. It says: Sessions are used to maintain state and user identity across multiple page requests. A session can be maintained either by using cookies or by URL…
Cratylus
  • 52,998
  • 69
  • 209
  • 339
1
vote
2 answers

Struts2 - Does invalidate() method of SessionMap really invalidate sessions?

i'm using in my actions a SessionMap (org.apache.struts2.dispatcher.SessionMap) to track my sessions. I also use the method invalidate() provided by SessionMap for logout. Using the webapp "manager" provided by Tomcat, I can monitor sessions in…
Rosanero4Ever
  • 482
  • 1
  • 7
  • 19
1
vote
1 answer

Session management in Typescript with express

Hello I am new to typescript. And want to know how session is managed in Typescript. Like session initialisation, storing user data in session etc etc. So if any one having tutorial or documention on that you can share. Thank you
Digen
  • 67
  • 9
1
vote
0 answers

How to manage concurrent sessions (user can login only from one browser) in tomcat hosted application without Manager maxActiveSessions

I have one dynamic web application hosted locally on tomcat, I want to manage login for users. User should be able to login from only one browser. Use case- If a user logs in from one browser (lets say chrome) with userId and password then at the…
1
vote
0 answers

ASP.NET CORE 5.0 -- Session management while debugging

We have an application that establishes a session variable upon the user logging into our application. Its a single JSON string stores as session and we deserialize to an object when we want to access user profile items. Everything works as it…
1
vote
1 answer

Refreshing the Refresh Token

The way I understand Access Token and Refresh tokens is as follows: Authenticate to App Receive (short lived) access token and (longer living) refresh token requests resources from App with access token If Access token expired request new Access…
1
vote
0 answers

How can I management Java Session with Framework or without

I have a simple personal project. This project has a rest API and is modular. It has user-service, it needs session management. For Example session time out, include permission, all login definations and etc. Could you write to your Best Session…
streji
  • 61
  • 10
1
vote
0 answers

Flutter Session stores data but can't make decisions based off it

I'm using FlutterSession to store phone number/email (based on user's choice) as a method of logging into the app. The session works fine in case of email but when I store and retrieve phone number, it shows me the snapshot has no data. This is the…
CodeSadhu
  • 376
  • 2
  • 4
  • 15
1
vote
1 answer

JDBC session for embedded jetty (Version above 9.4)

I am trying to implement jdbc session for embedded jetty server in order to share the sessions across nodes(TO avoid users losing their sessions when a deployment happens) in an openshift environment. The existing official documentations…
1
vote
1 answer

How to get row id & delete that particular row from Laravel Session Array?

i want to delete a row from stored session array. I could successfully delete it by sending the row number statically like in the code line below. But here i want to do it dynamically by passing the Array Row ID or line number. I want to replace the…