When open the sitecore portal and public website in same browser different tab I'm getting a "Application access denied." error (Below image).
I found how it happens. First I log into sitecore portal and then I log into public website where both open at same browser. Then I click on sitecore tree item, it redirects to sitecore portal home page. (http://myWebsite/sitecore/shell/default.aspx)
In public website I used FormAuthontication cookie and server session to handle each user. But I figure out that sitecore also use that FormAuthontication cookie.
When I log into sitecore it will create FormAuthontication cookie. But I log into public website that FormAuthontication cookie get modified.
So, there is a conflict between this FormAuthontication cookie and sitecore redirect to sitecore home page. Is there's a way to handle this situation?