Click here to Skip to main content
15,881,757 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: how to start MVC Pin
Philippe Mori18-Jun-11 5:04
Philippe Mori18-Jun-11 5:04 
GeneralRe: how to start MVC Pin
somasekhara77718-Jun-11 6:37
somasekhara77718-Jun-11 6:37 
AnswerRe: how to start MVC Pin
Prasanta_Prince19-Jun-11 6:24
Prasanta_Prince19-Jun-11 6:24 
QuestionProblem in web application deployment Pin
sakssp17-Jun-11 20:19
sakssp17-Jun-11 20:19 
AnswerRe: Problem in web application deployment Pin
R. Giskard Reventlov17-Jun-11 20:50
R. Giskard Reventlov17-Jun-11 20:50 
GeneralRe: Problem in web application deployment Pin
somasekhara77718-Jun-11 4:57
somasekhara77718-Jun-11 4:57 
AnswerSession variables Pin
David Mujica20-Jun-11 2:52
David Mujica20-Jun-11 2:52 
AnswerRe: Problem in web application deployment Pin
Morgs Morgan20-Jun-11 3:37
Morgs Morgan20-Jun-11 3:37 
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
QuestionWYSIWYG Editor That Limits Size of Document Pin
RHall7817-Jun-11 10:50
RHall7817-Jun-11 10:50 
QuestionHTML Editor Pin
berba17-Jun-11 2:45
berba17-Jun-11 2:45 
AnswerRe: HTML Editor Pin
jayantbramhankar17-Jun-11 3:06
jayantbramhankar17-Jun-11 3:06 
AnswerRe: HTML Editor Pin
Ra-one17-Jun-11 3:15
Ra-one17-Jun-11 3:15 
AnswerRe: HTML Editor Pin
That's Aragon17-Jun-11 3:35
That's Aragon17-Jun-11 3:35 
AnswerRe: HTML Editor Pin
Ali Al Omairi(Abu AlHassan)17-Jun-11 10:42
professionalAli Al Omairi(Abu AlHassan)17-Jun-11 10:42 
GeneralRe: HTML Editor Pin
berba17-Jun-11 21:12
berba17-Jun-11 21:12 
AnswerRe: HTML Editor Pin
Prasanta_Prince19-Jun-11 6:33
Prasanta_Prince19-Jun-11 6:33 
AnswerRe: HTML Editor Pin
Vasudevan Deepak Kumar22-Jun-11 10:43
Vasudevan Deepak Kumar22-Jun-11 10:43 
QuestionJQuery and button click in usercontrol [modified] Pin
V.17-Jun-11 0:08
professionalV.17-Jun-11 0:08 
AnswerRe: JQuery and button click in usercontrol Pin
Not Active17-Jun-11 2:06
mentorNot Active17-Jun-11 2:06 
GeneralRe: JQuery and button click in usercontrol Pin
V.17-Jun-11 2:09
professionalV.17-Jun-11 2:09 
GeneralRe: JQuery and button click in usercontrol Pin
V.17-Jun-11 3:29
professionalV.17-Jun-11 3:29 
QuestionDAAB and Cryptography Application Blocks Pin
infy_ramu16-Jun-11 22:11
infy_ramu16-Jun-11 22:11 
AnswerRe: DAAB and Cryptography Application Blocks Pin
Blue_Boy16-Jun-11 22:54
Blue_Boy16-Jun-11 22:54 
GeneralRe: DAAB and Cryptography Application Blocks Pin
infy_ramu17-Jun-11 1:40
infy_ramu17-Jun-11 1:40 
QuestionDeleting Directories with ASP.NET (VB) Pin
Member 408840116-Jun-11 18:47
Member 408840116-Jun-11 18:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.