asp:Login control requests

Posted by Dean on Stack Overflow See other posts from Stack Overflow or by Dean
Published on 2010-05-20T08:15:16Z Indexed on 2010/05/20 8:20 UTC
Read the original article Hit count: 350

Filed under:
|
|
|

Hi All,

ran into an issue, we are using webforms with a site with this dir structure:

root: / secure : /securepages/

we only want users who are logged in to access /securepages/.

currently we are using the login control, 3.5, forms auth, all is working ok but know we have thrown assl cert into the mix and the issue is that the login control is requesting WebResource.axd?d=XukT0PE1PS-iOKw3RT8Z6g2&t=633834231612265882 from the non secure url e.g. ht tp://www.mysite.com/WebResource.axd?d=XukT0PE1PS-iOKw3RT8Z6g2&t=633834231612265882 . This causes the browser to prompt the user to download unsecure content. I am using some redirecting in the global.asax to handle redirection to https://xx xxxlogin.aspx if login.aspx it requested from http://.

thanks

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about login