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
0 answers

aspnet-redis-providers not working for multi server setup in AWS behind Load balancer

I'm facing problem when I tried to use redis as session server for the below configuration: more than one windows servers hosting same application with https://github.com/Azure/aspnet-redis-providers Elastic load balancer with weighted routing…
2
votes
2 answers

Http Session Management / Alternative Session Management (in Java)

I'll try as best as possible to explain what I'm doing in order to get best possible advice/solution. This is all done in java. My client has a SWING based desktop application that will load using WebStart. I was assigned to create a Session Manager…
Buhake Sindi
  • 87,898
  • 29
  • 167
  • 228
2
votes
2 answers

Nhibernate, WinForms, Castle Windsor: Session Management

I know the question of session management has been brought up in the past, but I could not find anything that helps me overcome my problem.. I have a number of repository classes (e.g CustomerRepository, ProductRepository etc.) which I resolve…
2
votes
1 answer

ThreadLocal usage for managing session data

I got a doubt about threadlocal usage in managing sessions. It is.. In Thread Local, which ever thread that creates the thread local object has the access to that session object, and only that thread can modify the session object data. There might…
santhosh
  • 21
  • 1
  • 3
2
votes
0 answers

Session modules in PHP

I was trying to learn all of Session functions in php , that I faced a function called session_module_name.I already knew the usage of this function , but I don't know How many session modules are available ? and when/where we should use each of…
Pooya sanaei
  • 331
  • 2
  • 8
2
votes
1 answer

How to maintain session through requestDispatcher when cookies are disabled?

When I have cookies enabled and I do a requestDispatcher.forward(req,resp) from loggedIn to ShoppingCart , the 'session id' and 'username' is carried forward/saved. But when the cookies are disabled, a new 'session id' is created and the 'username'…
Ash Ash
  • 443
  • 4
  • 7
  • 15
2
votes
1 answer

Spring Social and Session Registry

I had an session management api, to logout certain users and so on backed by SessionRegistry, but now I have added Spring Social functionality and integrate it with current users. Unfortunately, using filter chain with SocialAuthenticationFilter do…
Mati
  • 2,476
  • 2
  • 17
  • 24
2
votes
1 answer

Invalidate all sessions by a user id with PHP

We are using PHP and storing session data in memcached. Is there a way to invalidate all sessions by a given user id? The use-case is, when a user changes their password, we log them out, however we should also be invalidating every other session…
Justin
  • 42,716
  • 77
  • 201
  • 296
2
votes
1 answer

Extjs session manageemt

Wanted to know if there is any way to find when your session is about to expire while using class Ext.data.Session, as the Ext.data.Session does not provide any event. As per the definition of the class it is used to store session information with…
Ameya
  • 1,914
  • 4
  • 29
  • 55
2
votes
1 answer

Management layer above Thrift

Thrift sounds awesome but can't find some basic stuff I'm used to in RPC frameworks (as HttpServlet). Example of the things I can't find: session management, filtering, upload/download progress. I understand that the missing stuff might be a…
AlikElzin-kilaka
  • 34,335
  • 35
  • 194
  • 277
2
votes
3 answers

Session Manager will not log me out when session expires, HTTPContext.Current is Null

I'm having this issue with my current session manager, when the session expires it will not log off the user. At random intervals while user is logged in the HttpContext.Current is NULL causing the site to generate many errors. I've tried a couple…
Dayan
  • 7,634
  • 11
  • 49
  • 76
2
votes
0 answers

jetty 9 JDBCSessionManger NoSuchMethodException

I just followed the Jetty docs about session clustering with a database and got this exception: java.lang.NoSuchMethodException: class org.eclipse.jetty.server.session.JDBCSessionManager.setIdManager(class…
rthomazine
  • 21
  • 1
2
votes
2 answers

Session management in Thrift

I can't seem to find any documentation on how session management is supposed to be done in Thrift's RPC framework. I know I can do a TServer.setServerEventHandler(myEventHandler); and observe calls to createContext (called when a connection is…
Evgeniy Berezovsky
  • 18,571
  • 13
  • 82
  • 156
2
votes
3 answers

encodeURL() example?

Can anyone direct me to a simple example (of code) showing the use of response.encodeURL()? All of my seaches (both google and stackoverflow) only supply the difference between encodeURL() and encodeRedirectURL(). I'm looking for some simple code…
Jeff Levine
  • 2,083
  • 9
  • 30
  • 38
2
votes
1 answer

Visual Studio session management

When working on a particular bug or feature I like to have a certain set of files open (among other things). When I switch between tasks I don't like to lose all this context - so I found that I can make a copy of the .suo file from the Visual…
dtmland
  • 2,136
  • 4
  • 22
  • 45