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

Session ID isn't registering as being set unless the page is refreshed after user signs in

I have a number of front-end functions which are triggered based on whether or not a user is signed in (i.e. the menu items displayed), but I'm having trouble triggering them when a user signs in unless they are redirected or the page is…
Chaya Cooper
  • 2,566
  • 2
  • 38
  • 67
0
votes
2 answers

Unable to maintain session while posting from one servlet to another

I'm trying to archieve the following: 1) end user will post to a servlet(lets call it GW) - the GW will store his session for the following requests to come. 2) for every request received by the GW , The GW will post to another servlet(will call it…
Yaniv
  • 164
  • 1
  • 9
0
votes
0 answers

Building urls with SessionID in ASP.NET MVC

Is there a way to build urls for an action in-lining the SessionID in ASP.NET MVC ? I need to build urls that will be used by others clients apps which need to download some kind of data but identifying the original session and I would like to have…
Luciano
  • 2,695
  • 6
  • 38
  • 53
0
votes
1 answer

Working with sessions when cookies are disabled?

I have to make a timetable system and ive made a login in page which works, but then i need to use sessions to know whos login and if they are still logged in but the cookies have to be disabled so I have tried saving the SessionID's to the MySQL…
0
votes
1 answer

Use Session with Silex and cUrl

I'm making an application and I need to authenticate users with a POST cUrl call: $app = new Silex\Application(); $app->register(new Silex\Provider\SessionServiceProvider()); $app['debug'] = true; $app->post('/api/auth/login', function (Request…
Mauro
  • 1,447
  • 1
  • 26
  • 46
0
votes
2 answers

Does a Java library exist to manage server sessions?

I am searching for a Java library (or a simple class) that is able to manage server sessions for any protocol. My application is not related in any way to HTTP. The sessions have to stay alive between different connections, just like HTTP cookies…
eepp
  • 7,255
  • 1
  • 38
  • 56
0
votes
1 answer

Can ShellExecute run in active session?

I have a command that i need run by cmd.exe when something happens in my program. Let's say the command is "calc.exe". When i use ShellExecute: HWND win = GetActiveWindow(); ShellExecute(win,L"open",L"calc.exe",L"",L"", SW_SHOWNORMAL ); The…
user966890
  • 205
  • 1
  • 7
  • 15
0
votes
2 answers

Rails devise: user_signed_in? and current_account

I'm using devise for authentication in my Rails application. Currently I have two models: Users Accounts Accounts belong to Users and users have one Account. My account model includes has a name and a subdomain. My user model has email and…
GeekToL
  • 1,815
  • 1
  • 24
  • 46
0
votes
1 answer

Checking Client provided Php SID is valid or not?

For session handling i am using mysql instead of default php file based handling. so before reading session info from db, i wanted to verify client provided session id is valid, i wrote a function and it looks working for now, but still wanted to…
Oxi
  • 2,918
  • 17
  • 28
0
votes
2 answers

passing sessionid to url asp.net

I have manualy assigned a sessionid to url: http://www.mysite.com/(S(jdave010098uqfraiasdp9999))/place.aspx so that 'jdave010098uqfraiasdp9999' would be captured by a label to identify a click on the link and stored in DB. But most times the…
user851971
  • 23
  • 1
  • 7
0
votes
2 answers

Why login and session id is not being set in this function?

I am try to loggin in and setting the session id.Below code did not authenticate the login successfully and did not set the session id.Plz help. public $userid; function login() { $pwdHasher = new PasswordHash(8, FALSE); …
Cuty Pie
  • 65
  • 1
  • 7
0
votes
1 answer

sessionlistner not working when user closes the browser

in the below code sessionCreated is working when ever new session is created. but sessionDestroyed is working only if we're invoke session.invalidate(); how can i make it work, in following situations ** 1)user closes the browser 2)system…
0
votes
1 answer

Check whether user is logged in another domain

I am using a remote login feature in my website for logging into an onapp server from my site.. This will actually fetch the form using CURL and submitting it with user name and password. It is working fine. Now my site has got different services…
Happy Coder
  • 4,255
  • 13
  • 75
  • 152
0
votes
2 answers

Generate it's Own Session Id in ASP.NET MVC#

i need a help, I'm creating an application in asp.net MVC3 and i want to set my custom session id which is generated var str = Math.floor(Math.random() * (2000 - 1000 + 1)) + 1000; document.write("Session ID::" + str); that above code written in…
vijai shukla
  • 195
  • 2
  • 2
  • 7
0
votes
1 answer

Share Session ID accross multiple subdomains / sites

Possible Duplicate: Cross domain PHP Sessions I have an IIS6 / WIMP system. When a user visits a page on: http://subdomain1.domain.com then a page on: http://subdomain2.domain.com I need the session id to stay the same. I do not need to retain…
Crunchline
  • 15
  • 4