Is session id unique. [modified]
-
Hi all I want to know whether the session id is unique when a group of people browsing through the same site, same page at the same time. Can anybody help? Please send me the code which will generate the session id so that i can use the same id number to create a folder in my application. -- modified at 5:50 Thursday 25th October, 2007
Prakash Mishra(Banglore,India)
-
Hi all I want to know whether the session id is unique when a group of people browsing through the same site, same page at the same time. Can anybody help? Please send me the code which will generate the session id so that i can use the same id number to create a folder in my application. -- modified at 5:50 Thursday 25th October, 2007
Prakash Mishra(Banglore,India)
Yes Seesion Id is unique for every user....:)
Arun Singh Noida.
-
Hi all I want to know whether the session id is unique when a group of people browsing through the same site, same page at the same time. Can anybody help? Please send me the code which will generate the session id so that i can use the same id number to create a folder in my application. -- modified at 5:50 Thursday 25th October, 2007
Prakash Mishra(Banglore,India)
Prakash_Mishra wrote:
same site, same page at the same time.
Yes it is. It may duplicate when they visit next time. But same time session id will be unique all over the site.
-
Hi all I want to know whether the session id is unique when a group of people browsing through the same site, same page at the same time. Can anybody help? Please send me the code which will generate the session id so that i can use the same id number to create a folder in my application. -- modified at 5:50 Thursday 25th October, 2007
Prakash Mishra(Banglore,India)
To be honest, one has to wonder how you expected it to work if it was not unique ? What do you mean by code to generate ? It's generated automatically.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Hi all I want to know whether the session id is unique when a group of people browsing through the same site, same page at the same time. Can anybody help? Please send me the code which will generate the session id so that i can use the same id number to create a folder in my application. -- modified at 5:50 Thursday 25th October, 2007
Prakash Mishra(Banglore,India)
Prakash_Mishra wrote:
I want to know whether the session id is unique when a group of people browsing through the same site, same page at the same time.
Prakash_Mishra wrote:
Please send me the code which will generate the session id so that i can use the same id number to create a folder in my application.
SessionID
is a unique ID generated by the server for each User accessing the site. No two user's can have Idential session ID at a time. And also each session has a life-time. Once a session expires, that ID can be reused to a new session. we don't have to explicitly write any code to generate it. We can create variable's for a particular session and store values in it. These are Session Variable's. The values stored in a session variable can be used/accessed through-out the session across the pages.Regards
- J O H N -