Mar 04, 2009, 11:05 AM
[CLOSED] Forms Authentication and Coolite (Ext)
Hello,<br class="webkit-block-placeholder">
Once again with a nasty one ;-)
<br class="webkit-block-placeholder">
I've looked in the forums and saw that there were some questions about this, but no real solutions.
<br class="webkit-block-placeholder">
So the problem is:
I've activated Forms Authentication in web.config:
So basically it says that when a visitor is not authenticated, he is redirected to Login.aspx. deny user="?" means that anonymous access is not allowed.
<br class="webkit-block-placeholder">
Now the problem is that my Login.aspx page uses Coolite.
And*of course*these coolite controls (extjs) reside in subfolders/subpages. And ever since only Login.aspx is allowed to be shown, he doesn't load the extjs and coolite stuff, so my login.aspx remains empty.
<br class="webkit-block-placeholder">
One solution is NOT to use coolite on my login page, but regular asp.net controls... Which I find a little dumm!
<br class="webkit-block-placeholder">
Now I suppose there is not a real solution, but could someone give me a hint on which folders or such I should extract from the security above to be able to show the coolite controls. Maybe some suggestions on the configuration of the web.config file.
<br class="webkit-block-placeholder">
Thanks in advance!
<br class="webkit-block-placeholder">
Reno
Once again with a nasty one ;-)
<br class="webkit-block-placeholder">
I've looked in the forums and saw that there were some questions about this, but no real solutions.
<br class="webkit-block-placeholder">
So the problem is:
I've activated Forms Authentication in web.config:
<configuration>
<system.web><br class="webkit-block-placeholder">
<authentication mode="Forms"> <forms loginUrl="~/Login.aspx" timeout="60" />
</authentication>
<authorization>
<deny users="?" />*
<allow users="*" />*
</authorization>*
</system.web><br class="webkit-block-placeholder">
</configuration>
<br class="webkit-block-placeholder">So basically it says that when a visitor is not authenticated, he is redirected to Login.aspx. deny user="?" means that anonymous access is not allowed.
<br class="webkit-block-placeholder">
Now the problem is that my Login.aspx page uses Coolite.
And*of course*these coolite controls (extjs) reside in subfolders/subpages. And ever since only Login.aspx is allowed to be shown, he doesn't load the extjs and coolite stuff, so my login.aspx remains empty.
<br class="webkit-block-placeholder">
One solution is NOT to use coolite on my login page, but regular asp.net controls... Which I find a little dumm!
<br class="webkit-block-placeholder">
Now I suppose there is not a real solution, but could someone give me a hint on which folders or such I should extract from the security above to be able to show the coolite controls. Maybe some suggestions on the configuration of the web.config file.
<br class="webkit-block-placeholder">
Thanks in advance!
<br class="webkit-block-placeholder">
Reno