Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

User Menu Component does not display username in soft refresh.

Avatar

Avatar
Validate 1
Level 2
nileshdchavan
Level 2

Likes

10 likes

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 2
nileshdchavan
Level 2

Likes

10 likes

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
nileshdchavan
Level 2

01-10-2018

Hello,

I'm using the asset share commons package in my DAM interface implementation. I've used the OOTB User menu component on my page.

I have a situation where when i login to my application page the username details are displaying. Sometimes it does not display. When i do hard refresh (Ctrl + F5) it displays the user info. When i do soft refresh (F5), it does not display the username details.

I'm using contexthub in my user menu component which comes OOTB. using AEM 6.3 with Service Pack and Asset Share Commons Package.

Please advise if you have come across this situation.

I see same issue being discussed at this thread - The logged-in user information disappears and reappears when moving from one page to another page · ...  , Any update if this has been resolved? Any help would be greatly appreciated. Thank you.

Thank you.

-Nilesh

Message was edited by: Nilesh Chavan

Replies

Avatar

Avatar
Validate 1
MVP
raj_mandalapu
MVP

Likes

124 likes

Total Posts

203 posts

Correct Reply

72 solutions
Top badges earned
Validate 1
Contributor
Shape 1
Give Back 5
Give Back 3
View profile

Avatar
Validate 1
MVP
raj_mandalapu
MVP

Likes

124 likes

Total Posts

203 posts

Correct Reply

72 solutions
Top badges earned
Validate 1
Contributor
Shape 1
Give Back 5
Give Back 3
View profile
raj_mandalapu
MVP

01-10-2018

I suspect, when you do the hard refresh it is displaying username which means the browser is caching the user information.

  • Are you catching js files?
  • Is it happening only first-time after login?
  • After hard refresh are you able to see the username continuously?