O
o0JoeCool0o
I currently have forms authentication set up for my application, I have
2 different projects in the solution and I have one single login page
residing in solution #1
My web.config is the same in both projects and works fine in IE you can
login the one page and the authentication works when your try redirect
to any page in either project. However in firefox if I login in
project1 and then try to load a page from project 2 I get booted to the
login page...
heres the code for web config
<authentication mode="Forms">
<forms name=".FormName"
loginUrl="/proj1/login.aspx"
protection="All"
timeout="480"
path="/Proj1"
/>
</authentication>
<authorization>
<deny users ="?" />
</authorization>
<machineKey validationKey='reallylongkey'
decryptionKey='shorterdecryptokey' validation='SHA1'/>
then on the login page I have
when the user is found in my sql database with correct password
FormsAuthentication.SetAuthCookie(UsrName, False)
response.redirect("Menu.aspx")
Now on the menu.aspx i have straight html links that point to pages in
proj2 if click them in IE I laod the page fine, in firefox it goes back
to login page with a return url querystring to the link i clicked. Any
ideas?
2 different projects in the solution and I have one single login page
residing in solution #1
My web.config is the same in both projects and works fine in IE you can
login the one page and the authentication works when your try redirect
to any page in either project. However in firefox if I login in
project1 and then try to load a page from project 2 I get booted to the
login page...
heres the code for web config
<authentication mode="Forms">
<forms name=".FormName"
loginUrl="/proj1/login.aspx"
protection="All"
timeout="480"
path="/Proj1"
/>
</authentication>
<authorization>
<deny users ="?" />
</authorization>
<machineKey validationKey='reallylongkey'
decryptionKey='shorterdecryptokey' validation='SHA1'/>
then on the login page I have
when the user is found in my sql database with correct password
FormsAuthentication.SetAuthCookie(UsrName, False)
response.redirect("Menu.aspx")
Now on the menu.aspx i have straight html links that point to pages in
proj2 if click them in IE I laod the page fine, in firefox it goes back
to login page with a return url querystring to the link i clicked. Any
ideas?