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