session-variables

ASP Login Web Control events are not behaving as expected

I have an .aspx page that contains an <asp:Login> web control. For authentication, I have another class (MyMembershipProvider) that inherits the System.Web.Security.MembershipProvider class. The login process is working fine - i.e. username/password is properly authenticated by the MyMembershipProvider object. My question is in regar...

Share application variable between 2 websites (IIS 7.5)

I have two urls that are supposed to lead to the same actual folder. I can't do a redirect because the websites are built so they question the URL and perform accordingly. So I built two application in the IIS (I tried using a virtual directory for one of them, but I kept crashing on the web.config can not be read). Everything works pe...