473,473 Members | 1,750 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

web user control not loading properly

Hi There,

I have my menu as a user control. My menu control is dynamic as I am
building it on the basis of user rights. Whenever a user logs on the menu
control is built with proper access level. My issue is as follows.

I logged on to the website. It generated the menu based on my access level.
Then I logged off and logged on as a different user. The first page after
logging on shows the menu loaded for previous user.
When I navigate to the next page then it loads the proper menu.

The problem continues, say if I log on from PC1 and log off. Then I move
onto PC2 and log on as a different user I still see the menu of the last
logon. Also, thing to note is everytime a user logs on the menu that comes
up on the first page is the menu that was loaded on the first logon.

Please help.

Thanks

Vivek
Nov 19 '05 #1
2 1351
I guess you should ellaborate more on your question. How are you building
the menu? Are you sure that the users are being logged off succesfully?
Could it that your app is caching the previous user session info?

"Vivek Sharma" <vi********@hotmail.com> wrote in message
news:eu**************@TK2MSFTNGP14.phx.gbl...
Hi There,

I have my menu as a user control. My menu control is dynamic as I am
building it on the basis of user rights. Whenever a user logs on the menu
control is built with proper access level. My issue is as follows.

I logged on to the website. It generated the menu based on my access
level.
Then I logged off and logged on as a different user. The first page after
logging on shows the menu loaded for previous user.
When I navigate to the next page then it loads the proper menu.

The problem continues, say if I log on from PC1 and log off. Then I move
onto PC2 and log on as a different user I still see the menu of the last
logon. Also, thing to note is everytime a user logs on the menu that
comes up on the first page is the menu that was loaded on the first logon.

Please help.

Thanks

Vivek

Nov 19 '05 #2
Sounds like the page is somehow being cached on the server after it is
changed. Could try to disable server side caching.
--
Paul G
Software engineer.
"Vivek Sharma" wrote:
Hi There,

I have my menu as a user control. My menu control is dynamic as I am
building it on the basis of user rights. Whenever a user logs on the menu
control is built with proper access level. My issue is as follows.

I logged on to the website. It generated the menu based on my access level.
Then I logged off and logged on as a different user. The first page after
logging on shows the menu loaded for previous user.
When I navigate to the next page then it loads the proper menu.

The problem continues, say if I log on from PC1 and log off. Then I move
onto PC2 and log on as a different user I still see the menu of the last
logon. Also, thing to note is everytime a user logs on the menu that comes
up on the first page is the menu that was loaded on the first logon.

Please help.

Thanks

Vivek

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Tim T | last post by:
Hi, I have the need to use dynamically loaded user controls in a webform page. I have the controls loading dynamically, and that part works fine. this is the code used in a webform to dynamically...
3
by: buran | last post by:
Dear ASP.NET Programmers, I am loading a web user control ("taclient.ascx") into a placeholder (ID: phFA). The web user control contains a cancel button (ID: btnCancel). I would like to "unload"...
6
by: Jim | last post by:
I have a user control that I am dynamically loading into an aspx page. When I fill out the text boxes and submit the form using a command button on the aspx page I lose the value from the user...
2
by: Frankie | last post by:
I have a user control into which I insert a bunch of controls dynamically. I have it all working just fine - Everything is there on Postback, etc. I load this user control into a hosting ASPX...
0
by: Joe | last post by:
I've a web form that inherits from a BasePage. There is a user control on the web form. Does anyone thinks it's a problem if I've my BasePage loading a user control and my web form loading a...
0
by: John Smith | last post by:
I still have not gotten this damn thing figured out and I'm asking for help one last time before I give up on it. I have a user control that contains a paged gridview control. The master page...
1
by: Bob Rock | last post by:
Hello, I'm new to ASP.NET and I've been looking into the topic of dynamically loading (typically accomplished with a LoadControl followed by a MyControl.Controls.Add()) both user controls and...
2
by: ChrisCicc | last post by:
Hi All, I got a real doozy here. I have read hundreds upon hundreds of forum posts and found numerous others who have replicated this problem, but have yet to find a solution. Through testing I have...
2
by: adiel_g | last post by:
I added a user control to a webform in Asp.net 2.0. I am also adding several other user controls to this webform. Now I am trying to find a way to stop the user controls from loading up when I...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.