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

PHP: Why not recognize variable PHPSESSID in a class?

As the title says,, I want to know because it does not recognize the $ sessionID variable within the class DB_Functions. When I check the table, all fields except the variable sessionID stored.
SoldierCorp
  • 7,610
  • 16
  • 60
  • 100
0
votes
2 answers

PHP SESSION (using myPajamas login scripts) not working when changing networks

I have looked everywhere on the web, and the nuances of SESSION variables need some clarification for me. I have a website that sets a session variable (I assume it also sets a cookie defining what the session id is? Not sure how that works), and…
MaurerPower
  • 2,046
  • 7
  • 26
  • 48
0
votes
2 answers

Android and JSON wrong SessionID

I have problem with getting sessionID with JSON. JSON is always returning new sessionID and when I'm trying to add sessionID to request response is wrong SessionID, it should return opened sessionID if it's open or open new sessionID and always…
Mathew1990
  • 327
  • 2
  • 17
0
votes
2 answers

Google alerts Post parameters

I am trying to automate google alerts.I am using c# to do this,I found out that there are certain parameters that need to be "Posted" in order to create an alert successfully.I am pasting those…
Akshat Jiwan Sharma
  • 15,430
  • 13
  • 50
  • 60
0
votes
1 answer

How to properly manage PHP sessions

I need to work with sessions only to maintain form input from edit.php(1) to post.php(2) to edit.php(3) if the input validation failed on save_post, so that my users don't have to re-fill the form at edit.php(3) with their previous entries at…
Ana Ban
  • 1,395
  • 4
  • 21
  • 29
0
votes
1 answer

session_set_cookie_params for subdomains

This might be slightly confusing, so please bear with me for a moment while i explain the issue. I have a website www.mydomain.com and a mobile version m.mydomain.com The main website does not have any specific cookie_params set The mobile site…
RiquezJP
  • 261
  • 3
  • 12
0
votes
5 answers

Getting value from session PHP

I am not sure why the variable username is not being returned in the session. When the user logs in, I start the session: $username = trim($_POST['username']); if(!isset($_SESSION)){ session_start(); } $_SESSION[$this->GetLoginSessionVar()] =…
JK0124
  • 375
  • 2
  • 4
  • 14
0
votes
2 answers

Session Not Carry Over to another page in https server php

I developed one site with session. Its works in Local server and Also in Production machine. Now they move the site to new server with SSL HTTPs . Here i face one problem . Session set in one page but not carry over to another page. Same code works…
Suresh kumar
  • 2,002
  • 1
  • 19
  • 28
0
votes
1 answer

Magento 1.7 - 2 stores with differnt domains sharing a cart?

I have successfully setup 2 stores with 2 different domains with Magento 1.7. I am unable to get them to share 1 cart, is there a trick to get this working? I have no been able to find any info on this for current versions of…
teamdane
  • 188
  • 1
  • 3
  • 18
0
votes
2 answers

Is the use of RNGCryptoServiceProvider in ASP.NET SessionID threadsafe?

Below is the implementation in ASP.NET for creating session ids (I've paraphrased). edit (the RNG is shared): static _randgen = new RNGCryptoServiceProvider(); string GetSessionId() { var buffer = new byte [15]; //fill the buffer with…
dan
  • 9,712
  • 6
  • 49
  • 62
0
votes
1 answer

create your own session id in struts2 or j2ee app

I have an app using Struts2 jsp and java..sessionid is created by container.I want to create my own session id and set to that particular session...just want to overwrite.I have aslo created a filter. session id.any clue something…
user1126046
  • 37
  • 1
  • 2
  • 9
0
votes
3 answers

ASP.Net SessionID keeps getting lost

My asp.net application works fine when launched from its own browser, but when its launched from another web application (sharepoint webpart) using window.open it works until the user clicks and posts back, then the session is lost. I think its…
RedMar
-1
votes
1 answer

XMLHttpRequest and Unique Session ID PHP

i created a javascript to track users cross-domain over the Session in PHP and with it know if the user is online, in the javascript i'm using XMLHttpRequest and send by POST Method, over a function setInterval to repeat this track, it works fine to…
Jean Michael
  • 117
  • 1
  • 2
  • 7
-1
votes
1 answer

In what cases will server send empty session id during TLS handshake?

I want to uses the SSL session ID for session stickiness and session persistence on loadbalancer. The SSL handshake process is successful. But i see in tcp traces server empty session id during TLS handshake. I want to know how to enable SSL session…
-1
votes
1 answer

Is this javascript code valid? And is it efficient? Trying to create a javascript user ID and a session ID

Im trying to create my own analytics script for my website, and for this I have tried to put together a way to create userID and sessionID. But I am not sure if I have done it correctly. I'm trying to: Check to see if user has set a userID - if not…