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
1 answer

User management for Node.js/React

Our tool is a Node.js server / React client running on a network with no external web access. We would like to add robust user management including: User definition (name, password, access level) Password change Login/Logout Is there any open…
2
votes
0 answers

Spring session issue in Micro-service

I am trying to handle session in microservice application using spring session and I am storing session in mysql database. here is my pom.xml org.springframework.session
2
votes
2 answers

Raven DB session management in WCF

I have a WCF service that accepts requests, performs some work and saves result to Raven DB. I am thinking that the session management shall be similar to NHibernate with WCF, but I am not sure. Currently I am thinking of creating one session per…
oleksii
  • 35,458
  • 16
  • 93
  • 163
2
votes
0 answers

How to share session between different web sites(different server)

As a part of the requirement, I need to share a single session between 2 different applications (hosted on different machine) within diffrent domain. (ex: app1.domain.com and app2.domain.com) I am using Sql Server session management and both the…
Ravi G
  • 21
  • 5
2
votes
1 answer

Jquery Shopping Cart Plugin: Implementing Session Management

Am using jquery shopping cart http://plugins.jquery.com/project/smartcart2 Can anyone help me in implementing onAdded, onRemoved, onUpdated methods in order to make Ajax call to maintain session on the server side. I make the Ajax request on the…
Piyush Mattoo
  • 15,454
  • 6
  • 47
  • 56
2
votes
1 answer

Generic Repository session management asp.net-mvc fluent nhibernate

I have gotten into a problem with my project. I am using a generic repository with structure map together with Fluent NHibernate. Everything works rather well, but when it comes to transactions and session management I have really no clue what to…
2
votes
0 answers

Spring Boot Login API with Angular 6 Frontend

I am using Spring Boot as backend and Angular 6 as frontend. I have created a login API which takes username and password as parameters and checks in a DB if both are matched. It will return a successful response. Afterward, I set a cookie as…
2
votes
1 answer

If I use J2EE session do I need ColdFusion session?

I have recently created a new system. In this project, I was able to work with session management in ColdFusion. Once I started digging into sessions and how they work there were few things that are not very clear in Adobe documentation. There is…
2
votes
1 answer

Xamarin.Forms Session Management

I am trying to develop a dummy app with Xamarin.Forms and i mainly focus on UWP. I have a login feature for this app and i need to manage sessions. I am consuming a basic web service method for login, it gets user name and password as parameters and…
Tartar
  • 5,149
  • 16
  • 63
  • 104
2
votes
1 answer

How do I use ColdFusion Session Management with a Single Page Application?

I have an Angular 4 SPA (single page application) being served by a server that has ColdFusion 11 on it. I'm using, via AJAX calls, many functions contained in .CFC files on that ColdFusion server. I want the following to happen: The user goes to…
2
votes
1 answer

Federated authentication and session management

When you login to Identityserver the authentication cookie idsrv is stored in the browser. When the user logs out, the cookie is deleted. However, an attacker can steal the cookie and essentially use it even though the user has logged out. This…
2
votes
2 answers

What is wrong with my Spring Hibernate Transaction Management Configuration?

I am using Spring 2.5.5. Hibernate3.2. and MySQL. I was getting: org.hibernate.LazyInitializationException: could not initialize proxy - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:57) at…
despot
  • 7,167
  • 9
  • 44
  • 63
2
votes
1 answer

NHibernate Repository pattern problem

I am using NHibernate and Repository patterns in my application. But not want to use UnitofWork pattern. There are two types of forms in my app. Collection/Picker forms and Entity forms. But the problem occurs when a form is ShowDialog()ged from…
user366312
  • 16,949
  • 65
  • 235
  • 452
2
votes
1 answer

Session Management using keycloak

My legacy application needs to delegate user authentication to 'keycloak' which is a SSO provider. I have a couple of questions What happens to my legacy session-management? Do I still need to maintain it? Can 'keycloak' act as my session…
TheMonkWhoSoldHisCode
  • 2,182
  • 3
  • 26
  • 40
2
votes
2 answers

managing hibernate sessions

I am trying to debug a web app that is having some performance issues. i turned on hibernate logging and i am seeing a lot of this: 2010-10-28 10:58:00,423 DEBUG [org.hibernate.impl.SessionImpl] - opened session at timestamp:…
mkoryak
  • 57,086
  • 61
  • 201
  • 257