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

ASP.NET C# Sessions SessionID changes on Page_Load()

Possible Duplicate: ASP.NET: Session.SessionID changes between requests I find this very weird, I'm still new to C# and ASP.NET Framework however i dont understand why on each Page_Load() execution my Session is assigned a diffirent SessionID. My…
Sterling Duchess
  • 1,970
  • 16
  • 51
  • 91
0
votes
2 answers

Session id in url

I made a site in php and when i visit it it shows a session id in the url. http://pandhuishaaglanden.nl/wat_wij_verkopen.php?PHPSESSID=f4d91f171d85b4ccabbb8d06e29b7308 I dont know why or how, because google sees this a duplicate content in the SEO…
Julez
  • 1,184
  • 2
  • 16
  • 23
0
votes
2 answers

Is this an issue with my PHP Session?

I am using sessions to log users into my site. The login form sends the input to a login-exec file which then queries the db and validates the login info. I have placed session_start(); at the beginning of the login-exec file and then used the…
Drew
  • 836
  • 4
  • 12
  • 24
0
votes
1 answer

servlet session not same when in jsp

I am creating a session id HttpSession session = request.getSession(true); in login servlet and calling welcome page from there...printing session values in both the pages <% System.out.println(session.getID()); %>. Though these session values…
mrig
  • 382
  • 1
  • 4
  • 21
0
votes
2 answers

Send userId at java web start from web page

I'm developing a JSF2 site where the users may start a java application through java web start. The app parses mp3 metadata and sends back a xml file with the parsed information. I need some way of identifying the user for each file that is sent to…
nivis
  • 913
  • 3
  • 17
  • 34
0
votes
1 answer

How to use existing session using Struts2 SessionAware

Our Action class implements SessionAware, on page load for the first time, we are setting some data into the session (session map which we get by implementing SessionAware). we have a functionality which makes page re load, in this case session data…
Pramod CA
  • 47
  • 3
  • 11
0
votes
2 answers

Get the logon session of a user in C++

I want to get a handle on the current logon session of processes whose parent is explorer.exe. If we run a process as administrator or a service it won't have a logon session. The reason I want to get the logon session is that I have a program…
phantomsays
  • 187
  • 2
  • 11
0
votes
1 answer

Session Variables Expiring

I have a shopping cart app using a temporary MySQL table to store cart contents. Each row of the cart table has the session value saved to uniquely identify that row. I'm setting the initial value using the following: $session_id =…
Brett
  • 887
  • 4
  • 14
  • 25
0
votes
1 answer

Hide ASP.NET_SessionId Cookie

I wrote an ASP.Net MVC app that stores Session information in the database, but I can see the session id being stored in a browser cookie "ASP.NET_SessionId". Is this a security risk? Can the id be used to hack/steal a user's session?
0
votes
2 answers

How to keep Google from indexing the Session ID in the URL?

One of my sites is for old mobile phones that don't accept cookies so it uses a URL-based Session ID. However, Google is indexing the Session ID, so when my site is searched on Google, all the results come up with a specific Session ID. On most…
ProgrammerGirl
  • 3,157
  • 7
  • 45
  • 82
0
votes
2 answers

Does session_destroy(); still work?

SO I have a logout button that links to a script called logout.php, standard stuff. Logout.php at the minute looks like this:
Bohdi
  • 1,295
  • 4
  • 28
  • 62
0
votes
1 answer

Sessions and Shopping Carts

Working a on custom PHP/MySQL shopping cart. The cart contents are stored in a table with the associated session_id. Here is the working beta site: http://wtc.betaforming.com/ I want to show the number of items in () in the cart next to the "Cart"…
Brett
  • 887
  • 4
  • 14
  • 25
0
votes
4 answers

session_id() behaviour

I have been working on converting my websites session information over from flatfiles to database sessions for a variety of reasons, the main reason being I use the same database of users for both the Administration panel and user panels. The…
Jake Ball
  • 798
  • 2
  • 8
  • 26
0
votes
1 answer

how to keep session id http to https in .Net

My session id changes when I call a https page from http page. How to keep it between them? NOTE: My server is on a hosting company so I can not make a setting on server or IIS. I checked and did the answer on how can I share an asp.net session…
cagin
  • 5,772
  • 14
  • 74
  • 130
0
votes
1 answer

Changing JSESSION ID with Tomcat 7

According to the tomcat docs, tomcat7 is not vulnerable to session fixation attack. But my tomcat 7.0.25 as well as 7.0.27 is vulnerable to this attack. JSESSIONID cookie value is not getting changed on successful login. I added following Valves to…
user1180463
  • 247
  • 11
  • 21