Questions tagged [sessionid]

A session ID is a unique identifier that relates session data to a specific user.

A session ID is a unique identifier that relates session data to a specific user.

In an HTTP context, it is usually stored in a cookie and sent to the server on every request. The server uses the session ID to load the data that was persisted in the session.

The lookup process on the server can be either file-based (where the session ID is used as part of the file name), or from a database (where the session ID is used as the primary key).

636 questions
0
votes
1 answer

WinInet+SSL: Can't make abbreviated SSL handshake

My ActiveX component uses WinInet.dll and uses SSL certificate authority to establish SSL connection with the server. It always do full SSL handshake with the server if it is not hosted in the IE process. And I can't find any way to reuse SessionID…
0
votes
2 answers

How to forcibly create a new session in Java Servlets

I am storing session ids in database at log in time. The problem I am facing is that if a different user logs in after first one, same session is entered in DB and welcome username still reflects the name of the one who logged in first on the same…
anujin
  • 773
  • 7
  • 24
  • 36
0
votes
1 answer

Why does my PHP session keep clearing?

I'm writing a PHP login script after reading a lot about session security online. However, I'm having a problem where the session information is not consistent between pages. There is probably a behavior involved with one of the methods I'm using…
smoth190
  • 438
  • 7
  • 26
0
votes
1 answer

Track User login and logout with sessiontracking using Spring

I'm using Spring MVC and have to implement session tracking through programatically. When user logged in, check some info related to credentials and get the rememberedParameter(SessionId) from Oracle coherence and send it back to User, further…
TP_JAVA
  • 1,002
  • 5
  • 23
  • 49
0
votes
1 answer

session variable destroyed

I have an issue with login session. Basically the flow is like this: user creates account and defines a username; user logins using url 'http://[username].website.com' (coded in php & mysql, using session cookie) My problem is: when trying to…
Mark
  • 73
  • 8
0
votes
1 answer

Advantage of OAuth vs HTTPS and SessionID

What are the advantages are of using OAuth vs just using a sessionID + HTTPS? Seems like a lot of complexity for little benefit.
Dez Udezue
  • 759
  • 1
  • 6
  • 16
0
votes
2 answers

Session variables don't store with Internet Explorer 9

I am trying to pass a session variable from one page to another using this code in asp.net: HttpContext.Current.Session["FacebookID"] = id; This works just fine with Firefox and Chrome, but when I try to grab that value from another page in…
Meyer Denney
  • 796
  • 1
  • 11
  • 34
0
votes
1 answer

ASPNET out-of-proc session is mysteriously reset

I'm facing a very peculiar issue with sessions being reset without any apparent reason. This happens randomly, once every few tens or hundreds of requests. My web application is running on windows 2003, IIS 6.0, .NET 1.1. The application has a…
0
votes
1 answer

How to Share the same Session id in Tomcat Cluster

I have two tomcat instances running in Clustered Environment Assume we have test.jsp is there in both Instances. Suppose test.jsp is giving session ID(S1ID) in instance One, how to get the same session ID(S2ID) from instance Two Is this correct…
SuryaIPS
  • 1
  • 1
0
votes
1 answer

java: create a session ID and pass it to multiple classes

I am making an IM chat client and need to use one randomly generated session ID for 3 classes but can't get it to work. When I try to pass it from one to the other it just makes a new one. The idea is that classA runs the chat and creates a new…
cHam
  • 2,624
  • 7
  • 26
  • 28
0
votes
1 answer

User session scope after user login to store session scoped data in mysql

I am new to use session management & I am using struts with MySQL as backend. I am developing a simple timesheet application. My requirement is like when a user login succesfully in login page, he should be able to add the work or tasks done that…
Honey459
  • 37
  • 3
  • 10
0
votes
1 answer

When does rails set the session id

In our code we reset session info when the user logs in, so that a new session id is generated. The session info is reset in the application controller during the process of logging in. That reset clears the session id that came in with the login…
user1499924
  • 1
  • 1
  • 1
0
votes
1 answer

how to get unique session numbers in php

I am trying to create two separate sessions- one for if the user is admin and another if the user is author. $type stored type as enum (can be either author or admin). But, I am not getting unique session id's for my sessions. I am new to PHP and…
user1479431
  • 369
  • 1
  • 5
  • 10
0
votes
0 answers

One page load causing numerous PHP sessions IDs

I recently switched over to using our database to manage PHP sessions for our users. The database session handler I've implemented is, for the most part, the same as this one. That being said, I've run into some weird behavior. On a single page…
joshholat
  • 3,371
  • 9
  • 39
  • 48
0
votes
2 answers

php - unique session id for several pages on same webserver

I have developed a small administration page for game servers which you can add/remove/edit settings online. Everything works fine, but I have problem with sessions. If the log in is successful the session ID is created $_SESSION['adm_login'] =…
Reteras Remus
  • 923
  • 5
  • 19
  • 34