I can't logout from my main page and also from the other pages when I'm using UrlRewriting rule without file extension. If I open the page with .aspx at the end, logout process working just fine. For example:
www.mydomain.com => logout impossible
www.mydomain.com/contakt => logout impossible
www.mydomain.com/contakt.aspx => logout working fine
Also when I log into system, the User.IsInRole method doesn't work for all pages used in application. It's working properly for the pages placed in main folder, but it's not working for the page placed in /folder/subfolder/somepage.aspx . Url showing in browser for this page is www.mydomain.com/somepage . How can I check If user is in role for that page ? It's always return false.
Does anybody got this problem ? How to solve it ? Please share any knowledge..
View Complete Post