Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Is session id unique. [modified]

Is session id unique. [modified]

Scheduled Pinned Locked Moved ASP.NET
helpquestion
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Prakash_Mishra
    wrote on last edited by
    #1

    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)

    S N C J 4 Replies Last reply
    0
    • P Prakash_Mishra

      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)

      S Offline
      S Offline
      squattyarun
      wrote on last edited by
      #2

      Yes Seesion Id is unique for every user....:)

      Arun Singh Noida.

      1 Reply Last reply
      0
      • P Prakash_Mishra

        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)

        N Offline
        N Offline
        N a v a n e e t h
        wrote on last edited by
        #3

        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.


        My Website | Ask smart questions

        1 Reply Last reply
        0
        • P Prakash_Mishra

          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)

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          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 )

          1 Reply Last reply
          0
          • P Prakash_Mishra

            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)

            J Offline
            J Offline
            John ph
            wrote on last edited by
            #5

            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 -


            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups