Re: half rendered page on first load :-( after refreshing everything is fine
From: Steven Cheng[MSFT] (v-schang_at_online.microsoft.com)
Date: 02/07/04
- Next message: Steven Cheng[MSFT]: "RE: asp.net creates html that does not validate?"
- Previous message: Steven Cheng[MSFT]: "Re: Control Height"
- In reply to: Daniel Walzenbach: "Re: half rendered page on first load :-( after refreshing everything is fine"
- Next in thread: Steven Cheng[MSFT]: "Re: half rendered page on first load :-( after refreshing everything is fine"
- Reply: Steven Cheng[MSFT]: "Re: half rendered page on first load :-( after refreshing everything is fine"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 07 Feb 2004 06:41:00 GMT
Hi Daniel,
Thanks for your followup and the further information you provided. Since
you mentioned that the problem occured before user has loged in, I think
the former problem in this issue if probably caused by the page you
manually redirect user to the login page. And I think you've also got it
that it's no need to manually redirect user to login page if you have
implemented the FormsAuthentication and set the "loginUrl". Then if
unathenticated user visit some certain protected pages, he'll be
automatically redirect to the "loginUrl". If you have anything unclear on
using the FormsAuthentication, here is some weblink to the reference and a
simple sample on ASP.NET FormsAuthentication:
#.NET Framework Developer's Guide Simple Forms Authentication
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconsimplecookieauthen
tication.asp?frame=true
#Forms Authentication Provider
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconthecookieauthentic
ationprovider.asp?frame=true
As for the new problem "the form authentication not work after deploying on
the productive server", yes? I think you may first have a check on the
web.config file's "Authentication" block. I notice that you set the
absolute url for the "loginUrl" in your config file as below:
/ATV2004/Account/Login.aspx
Have you adjust it according to the proper path structure on the
productive server or is it possible that the the ASP.NET can't find the
login page correctly? Also, I suggest that you have a check on the
web.config file and compare with the example in the tech article I provide
above.
In addtion, if the suggestoin if not quite suitable, would you please
provide me some further description on how the FormsAuthentication not work
on productive machine?
Please check out the above things. If you feel anything unclear, please
feel free to let me know.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
- Next message: Steven Cheng[MSFT]: "RE: asp.net creates html that does not validate?"
- Previous message: Steven Cheng[MSFT]: "Re: Control Height"
- In reply to: Daniel Walzenbach: "Re: half rendered page on first load :-( after refreshing everything is fine"
- Next in thread: Steven Cheng[MSFT]: "Re: half rendered page on first load :-( after refreshing everything is fine"
- Reply: Steven Cheng[MSFT]: "Re: half rendered page on first load :-( after refreshing everything is fine"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|