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. Session effects one system to another

Session effects one system to another

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelp
4 Posts 4 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.
  • V Offline
    V Offline
    vikas shukla
    wrote on last edited by
    #1

    hi sir, please help me i am fresher in asp.net. actually when i login with login id admin through pc1 and another user login with same login id through pc2 then pc1 session variable effects pc2 session variable.i mean Session variable is not working properly.why

    M A 2 Replies Last reply
    0
    • V vikas shukla

      hi sir, please help me i am fresher in asp.net. actually when i login with login id admin through pc1 and another user login with same login id through pc2 then pc1 session variable effects pc2 session variable.i mean Session variable is not working properly.why

      M Offline
      M Offline
      m khansari
      wrote on last edited by
      #2

      hi you can verify a session by SessionID those sessions differs on SessionID Hope to be useful

      Mohammad Khansari

      1 Reply Last reply
      0
      • V vikas shukla

        hi sir, please help me i am fresher in asp.net. actually when i login with login id admin through pc1 and another user login with same login id through pc2 then pc1 session variable effects pc2 session variable.i mean Session variable is not working properly.why

        A Offline
        A Offline
        Abhijit Jana
        wrote on last edited by
        #3

        vikas shukla wrote:

        actually when i login with login id admin through pc1 and another user login with same login id through pc2 then pc1 session variable effects pc2 session variable.i mean Session variable is not working properly

        This means, there are some problem is your code. What do you mean by "Pc1 Session Variable Effects Pc2 Session variable". If you can give proper description of your error I can help you out. By the way, you can first go through this article, It may help you Exploring Session in ASP.Net[^] Let me know if you need any more help !

        Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

        N 1 Reply Last reply
        0
        • A Abhijit Jana

          vikas shukla wrote:

          actually when i login with login id admin through pc1 and another user login with same login id through pc2 then pc1 session variable effects pc2 session variable.i mean Session variable is not working properly

          This means, there are some problem is your code. What do you mean by "Pc1 Session Variable Effects Pc2 Session variable". If you can give proper description of your error I can help you out. By the way, you can first go through this article, It may help you Exploring Session in ASP.Net[^] Let me know if you need any more help !

          Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

          N Offline
          N Offline
          naresh yadav y
          wrote on last edited by
          #4

          If we same username from different systems it doesn't effect session from used for same user in another system, ASP.net uses seperate session for each request from different systems or different browsers. If you dont want two users to use same username you can make use of database to check if the user is already logged in or not, Or you can use array of users in global.asax file where the data is global for all usersm, so that you control the user while loggin in (Checking with the global array)...

          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