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

Deleting/ abandoning ASP.NET session state server

I am learning about the State management in ASP.Net using sessions. I have recently used out of proc ASP.Net session state server for storing my application's session data. What I wish to know is what happens to a session in the asp.net session…
0
votes
1 answer

Concurrent session control classes never invoked

This is using Spring Security 4.0 RELEASE and Spring Security CAS. I'm setting up session concurrency management using Java Config: http .sessionManagement() .maximumSessions(1) .maxSessionsPreventsLogin(false) …
0
votes
1 answer

How to do session management between two applications?

I am trying to place view pages and controllers in app-1 and place the business logic in app-2. To export the business logic we used REST. When a request comes from browser it will hit the app-1 and app-1 communicate with app-2 through REST links.…
123r789
  • 1,600
  • 3
  • 22
  • 33
0
votes
1 answer

Form Authentication with WebAPI expires after 5 minutes

I have been creating a web project where I am using forms authentication using cookies to validate if the user is authentication. Everything works fine, but when I host this on shared hosting, then the session expired after 5 minutes of inactivity.…
Moiz
  • 2,409
  • 5
  • 27
  • 50
0
votes
1 answer

appFabric 1.1 Session Managment losing values

I am using appFabric 1.1 with windows 7 for Session Managment but it seems the Caching service is ignoring the Session Time .. I dont see anything wrong on my web.config Can someone give me a allowLocation="true" …
0
votes
1 answer

Can HazelCast create and mange Session?

From my initial reading i understand that HazelCast offers Session Clustering as one of it's feature. But can I use HazelCast to create and manage the complete session lifecycle (creation, update, destroy, auto-expiry) ? Does HazelCast has this…
yathirigan
  • 5,619
  • 22
  • 66
  • 104
0
votes
1 answer

Old Session and cookies are referred while processing new HttpServletRequest in Spring

My Restful service application developed with Spring 3 is deployed on Tomcat7. I use a chrome app called Postman to request REST services. I have a custom-filter placed before all the services (except the non-secured service login) for checking…
0
votes
1 answer

Akka session actors in multiple nodes

In this moment I have this actor session management implementation running in only one node: 1) I have a SessionManager actor that handles all sessions 2) The SessionManagerActor receives two messages: CreateSesion(id) and ValidateSesion(id) 3) When…
Rodrigo Cifuentes Gómez
  • 1,304
  • 2
  • 13
  • 28
0
votes
1 answer

Coherence web and load balancing

We had 2 managed servers sitting behind a Citrix Netscaler loadabalncer with sticky session enabled, so a request will be forwarded to the same managed server. Now we configured a coherence*web cluster with 2 managed servers and a Citrix Netscaler…
Arun
  • 153
  • 1
  • 1
  • 8
0
votes
2 answers

Spring MVC @Sessionattributes issue in multiple browser tabs

We are using latest version of spring. . We are uding @Sessionattributes of spring mvc to stote data in session scope.. The problem is it not working as expected when we are working with multiple tabs of the browser. . We have a search page that…
Raju Boddupalli
  • 1,789
  • 4
  • 21
  • 29
0
votes
2 answers

Dropwizard Session Clustering

I need a way to share the session across different dropwizard web services. In Jetty there is a way to do it by using JDBCSessionIdManager and JDBCSessionManager (http://wiki.eclipse.org/Jetty/Tutorial/Session_Clustering). The problem is that…
Alex
  • 83
  • 1
  • 11
0
votes
2 answers

pyqt graceful logout my app when user signs off

When my app is running, if the user logs off I would like to pop up a window displaying some info and confirming the logout class MyApp(QtWidgets.QApplication): def __init__(self, *args, **kwargs): super(MyApp, self).__init__(*args,…
mingxiao
  • 1,712
  • 4
  • 21
  • 33
0
votes
2 answers

How to check whether Session Attribute is successfully set?

I have multiple servlets and jsp pages (around 100) and I want to do session management for these using HttpSession. Is it necessary to check for HttpSession.getAttribute() in each of the servlets and jsp pages after setting the attribute for…
user3921678
  • 27
  • 11
0
votes
1 answer

How to pass token to server from android app

I am trying to authenticate my app with the server using token. when I login to my system, server sends the token and I store it in current Session/ Application instance. Later I need to pass that token on each request along with the other…
Michael Shrestha
  • 2,547
  • 19
  • 30
0
votes
1 answer

Manually expire sessions in WebSphere

Tomcat's manager console allows the user to manually expire sessions. I find this useful for testing session management in applications. So I was wondering if there is a way to do so in WebSphere instead of waiting for the timeout to occur, or…
Anthony
  • 644
  • 7
  • 23