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. Problem while Login

Problem while Login

Scheduled Pinned Locked Moved ASP.NET
questionsysadminhelp
4 Posts 3 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
    pavya_Cool
    wrote on last edited by
    #1

    Hi to all, i have developed one web application with login page. Everything is working well on standalone PC but while on network if somebody logs in with a particular username & password and someone else tries to login on another PC then it automatically logs in with the username of person who is already logged in. i have used cookies for my login page. Can anybody please tell what is the mistake?

    Pravin

    S D 2 Replies Last reply
    0
    • P pavya_Cool

      Hi to all, i have developed one web application with login page. Everything is working well on standalone PC but while on network if somebody logs in with a particular username & password and someone else tries to login on another PC then it automatically logs in with the username of person who is already logged in. i have used cookies for my login page. Can anybody please tell what is the mistake?

      Pravin

      S Offline
      S Offline
      Sandeep Akhare
      wrote on last edited by
      #2

      i think the problem is different than cookie as cookies are stored at client side by the browser. Are you using any static variables or something like that in login page Again how are you using the cookies in your application ?

      Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

      1 Reply Last reply
      0
      • P pavya_Cool

        Hi to all, i have developed one web application with login page. Everything is working well on standalone PC but while on network if somebody logs in with a particular username & password and someone else tries to login on another PC then it automatically logs in with the username of person who is already logged in. i have used cookies for my login page. Can anybody please tell what is the mistake?

        Pravin

        D Offline
        D Offline
        Deepak Nigam
        wrote on last edited by
        #3

        I think that there is some problem while creating the application object and session object. Application object is created for the application(only one) while session objects are created for ecah user separately, that keeps track of the user. :):)

        Deepak Nigam

        P 1 Reply Last reply
        0
        • D Deepak Nigam

          I think that there is some problem while creating the application object and session object. Application object is created for the application(only one) while session objects are created for ecah user separately, that keeps track of the user. :):)

          Deepak Nigam

          P Offline
          P Offline
          pavya_Cool
          wrote on last edited by
          #4

          hi Deepak, Thanks for reply... can you please tell me how to create session object for each user separately? or do u have any link for it? Please reply.

          Pravin

          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