Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forms authentication redirect to login page

Status
Not open for further replies.
Apr 11, 2002
193
0
0
IN
Hi,

I am developing a web site using ASP.net 2.0 and authentication is Forms. As per the client requirements we have used frameset as they wanted the top part which contain the menus not to refresh. So when ever there is a session timeout the user is redirected to the login page, but the login page opens up in the child frame. Can it be possible to specify a target so that the login page can opened in the parent frame or can we override the forms authentication to call a javascript function which can take care of this issue.

Thanks,
Manish
 
Frames will cause more problems than they help solve. You should inform the client that there are better methods of acheiving what they want rather than trying to resolve the problems that they do cause.


------------------------------------------------------------

Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]
[URL unfurl="true"]http://mdssolutions.co.uk[/url] - Delivering professional ASP.NET solutions
 
Hi,

Thanks for the tip, how can we avoid frames and not refresh the top menus whenever they are clicked. Are you talking about using AJAX to make it look like no postback using seperate panels or is there any other way.

Thanks,
Manish
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top