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 in web application deployment

Problem in web application deployment

Scheduled Pinned Locked Moved ASP.NET
sysadmincsharpasp-netdatabasesql-server
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.
  • S Offline
    S Offline
    sakssp
    wrote on last edited by
    #1

    When I deploy my web application and when two persons (administrator, Encoder) logged in at same time to my web application then the pages gets interchanges between the logged in users. We have develop the software in ASP.net VS-2008 and SQL Server 2005.

    R D M 3 Replies Last reply
    0
    • S sakssp

      When I deploy my web application and when two persons (administrator, Encoder) logged in at same time to my web application then the pages gets interchanges between the logged in users. We have develop the software in ASP.net VS-2008 and SQL Server 2005.

      R Offline
      R Offline
      R Giskard Reventlov
      wrote on last edited by
      #2

      Not nearly enough information to be able to help. e.g. does this happen on the dev box as well? Are there any exceptions reported? Is it your design? Also, not clear what you mean by 'pages get interchanges betwen th elogged in users'???

      "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

      S 1 Reply Last reply
      0
      • R R Giskard Reventlov

        Not nearly enough information to be able to help. e.g. does this happen on the dev box as well? Are there any exceptions reported? Is it your design? Also, not clear what you mean by 'pages get interchanges betwen th elogged in users'???

        "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

        S Offline
        S Offline
        somasekhara777
        wrote on last edited by
        #3

        you are developing a web application rite. there is no problem how many users will be logged in. suppose with same user name u will login with different browsers rite there will be nothing happens. first ask the question clearly i am not getting ur question

        j somasekhar

        1 Reply Last reply
        0
        • S sakssp

          When I deploy my web application and when two persons (administrator, Encoder) logged in at same time to my web application then the pages gets interchanges between the logged in users. We have develop the software in ASP.net VS-2008 and SQL Server 2005.

          D Offline
          D Offline
          David Mujica
          wrote on last edited by
          #4

          I'm going to guess that you are having a problem with security rights or something like that. Are you using session variables (or global variables) to store data between pages or postbacks ? I bet you are mixing things up and that is why you are seeing strange behavior. Just a total guess. You didn't give enough detail of your problem. Give more detail like: 1) User A does ... 2) User B then, .... 3) User A sees .... More detail will lead to a faster and more accurate response. Good luck.

          1 Reply Last reply
          0
          • S sakssp

            When I deploy my web application and when two persons (administrator, Encoder) logged in at same time to my web application then the pages gets interchanges between the logged in users. We have develop the software in ASP.net VS-2008 and SQL Server 2005.

            M Offline
            M Offline
            Morgs Morgan
            wrote on last edited by
            #5

            Hi, Here is my guess of what could be causing your applications behaviour. You are using Cache["Id"] e.g. to store user data! If that's the case, the cache object sits on the servers hard disk and your cache data will be used when ever your application is invoked by IIS. As you may have noticed, the Cache["id"] is not unique which is why your application displays different data to each user depending on who request server data first. Cach["key"] objects are different from Session["key"], google this one out! SOLUTION: Make all your Cache["key"] variables unique hence the name "key" to something like:

            //all these cache objects will be unique per id (or anything at mind)
            Cache["id" + id] = id;
            Cache["username" + id] = username;
            Cache["password" + id] = password;

            to retrieve each cache, you might want to pass the "id" in a querystring from page to page. Shout if you have any trouble. Also consider carefully when to use Cache, Cookies, or Session objects to store user data. Morgs

            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