Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: refreshing a page?


Message #1 by soni29@h... on Tue, 21 May 2002 14:25:51
hi,
is there any way to refresh a page in another frame?  i wanted to build a 
site with 2 frames, top and main, top will contain a pic of login which 
changes to a pic of logout once the user logs in.  the login form will be 
in main, so i need to check for a valid login in main, set a variable in 
global.asax and then refresh the top frame, which can then check so see if 
a there is some id set in global to display the correct pic.

Thanks.
Message #2 by "Mingkun Goh" <mangokun@h...> on Wed, 22 May 2002 04:59:11
If your just need to change the login pic, I dun think there is a need to 
use 2 frames, unless you are trying to do something else using 2 frames.

So, if you have a single webpage without frames, the login/logout pic 
remains at the top of the page.

So after you have checked the user's identity, just change the ImageUrl 
property of the ASP.NET Image control accordingly.

  Return to Index