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
1
vote
3 answers

Sharing resources between web requests?

Is there a standard way, in ASP.Net, to share resources between web requests? This is my problem: There is a web service I need to query from the code behind of several pages This web service only allows one logged in session at a time If you log…
Petey B
  • 11,439
  • 25
  • 81
  • 101
1
vote
0 answers

perl cgi session info not returned on new page

i am trying to use cgi::session, but no luck yet. index.html has form which gets user credentials, matches them with mysql databases values, and if right, then sets a session otherwise shows login.html # create a new session my $session =…
msinfo
  • 1,147
  • 6
  • 21
  • 39
1
vote
1 answer

Pass parameter in all requests for session management on server

I'm making a web application, server need to track which browser tab/window the request was coming from. My approach: Pass the window/tab name (window.name) as a parameter with all requests from browser to server. Questions: 1. Is there a generic…
1
vote
0 answers

Mobile application authentication & session management from java application

I'm looking for suggestions for below listed problem I have a web application which is developed on java & current web application developed with below features Authentication (Login/Logout) Session management Dashboard with subscription and…
1
vote
2 answers

how to set a property globally in wso2 ESB

I am trying to figure out how to implement session management in wso2 esb.So i have written a class mediator which generates session_ID that i want to store.For storing the session id I am using following code…
Roy
  • 1,231
  • 1
  • 24
  • 61
1
vote
1 answer

Spring session concurrency

I want to use spring security to handle session concurrency. I want prevent logging in of same accounts. What I've done so far is the authentication part by implementing AuthenticationProvider. I overrode authenticate() method and I think the…
Oneb
  • 375
  • 1
  • 10
  • 21
1
vote
1 answer

PHP session is destroyed after user agent change

I have such address example.com/page1. For example visitor's user agent is like this: Mozilla/5.0 (iPhone; CPU iPhone OS 6_1_2 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Mobile/10B146. I run session_id() and PHP Session ID is 12345. I can…
trante
  • 33,518
  • 47
  • 192
  • 272
1
vote
1 answer

Nhibernate Session handling in a very high traffic web application

I am building a small web application that need to handle 1000 requests per minute. Each request needs to write one simple row to the database. I am doing second level cache for the reading. Can I do session per request in this case? Should I reuse…
SexyMF
  • 10,657
  • 33
  • 102
  • 206
1
vote
1 answer

How to pass / copy the parameter in java springs 2.5.6 when we switch between https to http

In my code I am using spring direct login. Once controller switches between https to http a new session is created, once new session is created, how do I pass/ copy the session attribute to new session Which was created by http?
1
vote
1 answer

CakePHP Advanced Auth and Session Handling

I'm looking for an advanced CakePHP authentification component or plugin. I've used the core auth plugin and it's fine. I'm however looking for something a bit more advanced that allow to keep track of multiple sessions for the same user. Main…
iDev247
  • 1,761
  • 3
  • 16
  • 36
1
vote
2 answers

Which Perl session management library works well with TemplateToolkit?

I've considered CGI::Application and CGI::Session. Of the two, CGI::Session seems more promising. CGI::Application model, however, doesn't look like it would work well with Template Toolkit. (Am I wrong to think so?) I would like to evaluate more…
GeneQ
  • 7,485
  • 6
  • 37
  • 53
1
vote
1 answer

session management in android using sharedpreferences

hi i successfully develped one login form with mysql database via soap webservices.here i wish to make session management.but i can't able to develop.so please help me.when i fill in the username and password is successful means it is go to next…
Krishna Veni
  • 2,217
  • 8
  • 27
  • 53
1
vote
6 answers

Implementing own Session Management in PHP

What options are there to implement an own session management in PHP? Is there a nice way to implement a component which performs all session tasks? How can i construct a class which receives the HTTP Request and Response during one request…
Michael S
  • 189
  • 3
  • 12
1
vote
2 answers

Implementing own Session Management in ASP.NET

What options are there to implement an own session management in ASP.NET? I just found one older solution about "highjacking" the built-in session management. Is there a nice way to implement a component which performs all session tasks? How can i…
Michael S
  • 189
  • 3
  • 12
1
vote
1 answer

Spring concurrent session control not working, user can login multiple times

I use Spring 3.2 and Spring-security 3.1 along with jsf + primefaces and hibernate4 on Tomcat7 I wanted to add a concurrency control to limit users' session to one, and show and error message if he/she tries to login the second time. The problem is.…
Bren
  • 2,148
  • 1
  • 27
  • 45