|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Form based security using framesMy web application uses frames with a header frame, a bottom frame and a main frame. I have set up my web.config file to the following <authentication mode="Forms"> <forms name=".ASPXAUTH" loginUrl="login.aspx" timeout="120"/> </authentication> <authorization> <deny users="?"/> </authorization> When the authentication expire my login page in loaded in main frame but I don't want this. I just want to be redirected to it, not to be loaded in the frame. How can I do this? You have a couple of options. I am sure the first will work, but not as much
on the second, due to MS' system. 1. Create the logon page as an entire Frameset with the actual logon in one of the frames. 2. have JavaScript redirect logon to a Framesetted (yeah, not a word) version. This is the one that might fight you due to the ASP.NET model. In either case, you have to make it so the frameset and frames are outside of the logon mechanism (exceptions to your settings). -- Show quoteHide quoteGregory A. Beamer MVP; MCP: +I, SE, SD, DBA *************************** Think Outside the Box! *************************** "dudu" wrote: > > > > I have this little problem > > > My web application uses frames with a header frame, a bottom > frame and a main frame. I have set up my web.config file > to the following > > > <authentication mode="Forms"> > > <forms name=".ASPXAUTH" loginUrl="login.aspx" timeout="120"/> > > </authentication> > > > > > <authorization> > > <deny users="?"/> > > </authorization> > > When the authentication expire my login page in loaded in main frame but I > don't want this. I just want to be redirected to it, not to be loaded in the > frame. How can I do this? > > >
Other interesting topics
ASP.NET image - remove border attribute (c#)
Httphandler redirection to document -- GetCompiledPageInstance dropdowncontrol problem trying to show images in the grid Page Expired Warning Project in modules Instantiate UserControl without LoadControl Storing Enums in web.config Restarting IIS after installation of a new Webapplication Time out issue to connect to Sql server |
|||||||||||||||||||||||