MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

error during navigation  (Mono Support )

29081 put(a) pogledan, 8 odgovor(a) 1.6.2011. 7:04:25Kreirao(la) rensonsunny
rensonsunny

rensonsunny

1.6.2011. 7:04:25
Hi all,

I am using Monox product. During testing i have found one problem in navigation. I will explain the scenario.

step1: I logged in as user X. and click on tabs About and lets socialize and then logged out

step2: Then I logged in as user Y. and click on about and lets soicialize tab links. then logged in status of old user X is displayed. But the actual logged in user is User Y.

sometimes it also not displaying any logged in satus. (that is, actually user is logged in but in those pages ,option for log-in is showing. not displaying the user status. it is not regularly)

I found issue only in About(Features.aspx) and Lets Socilize(Dashboard.aspx)

Please give me one solution for this. I want to solve this problem

Regards
Renson Sunny
Ovaj sadržaj još nije ocijenjen. 
30 Reputacija 4 Ukupno objava
khorvat

khorvat

1.6.2011. 8:56:47
Hi,

can you please make sure that this isn't a browser cache issue, and in the meanwhile our QA team is testing the issue and we will get back to you.

Regards
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
rensonsunny

rensonsunny

1.6.2011. 9:23:45
I already checked..no..its not a browser cache issue..
Ovaj sadržaj još nije ocijenjen. 
30 Reputacija 4 Ukupno objava
imarusic

imarusic

1.6.2011. 9:34:29
Hi,

we got the same thing now during the test. It's related to the MonoX caching. We are working on it and will get back to you ASAP.

Regards.
Ovaj sadržaj još nije ocijenjen. 
3016 Reputacija 428 Ukupno objava
denis

denis

1.6.2011. 11:13:11
It appears that a "VaryByCustom" parameter is missing from the cache configuration for that page. MonoX server side caching (do not mix it with client-side browser cache) can operate on both page and Web part levels. "Let's socialize" page by default has page-level (output) caching turned on to minimize the impact of loading user avatars, blog posts and groups. You can specify different "VaryBy" parameters to control how it behaves - it basically wraps the default ASP.NET functionality described at this URL: http://msdn.microsoft.com/en-us/library/hdxfb6cy(v=VS.100).aspx
By default, MonoX varies the output cache by the application ID, language, user roles (since administrators and other groups usually have a totally different view of a same page), and a target page URL. In this case, since the page holds a user name, it must be varied by user also.
You have several choices here: to turn the page cache off, to add caching on the Web part level (in the Web part properties) or to add the varybycustom user parameter. Page cache is controlled in the page management section (/MonoX/Admin/PageAdmin.aspx, you must be logged in as an admin), find the page in the right pane (its title is Social Networking), right click on it and choose Page properties. You will be able to see the Cache tab in the page properties screen, so either set Cache duration to 0, or enter user in the Vary by custom field.
Ovaj sadržaj još nije ocijenjen. 
7207 Reputacija 956 Ukupno objava
rensonsunny

rensonsunny

1.6.2011. 13:10:06
Thank u all...thanx for ur support and valid information. Now the issue is solved.
Ovaj sadržaj još nije ocijenjen. 
30 Reputacija 4 Ukupno objava
rensonsunny

rensonsunny

3.6.2011. 5:12:13
Hi,

I have done the changes based on you told. Issue solved in local machine. then i upoladed it in cloud with same project and database. But again issue is showing. then what will be the issue. Plaese give me one solution for this.

Regards
renson KS
Ovaj sadržaj još nije ocijenjen. 
30 Reputacija 4 Ukupno objava
denis

denis

3.6.2011. 8:20:13
Hi,
It is highly unlikely that this could happen again if you uploaded the database version in which the page cache setting for this page is changed. Could you send me a private message with the site address and login details so I could take a look?
Ovaj sadržaj još nije ocijenjen. 
7207 Reputacija 956 Ukupno objava