| | |
help with asp.net/JS and cookies
Please support our ASP.NET advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
hmm
its definetly in the same folder
guess its a server issue :!:
just incase tho
here is my web.config code
its definetly in the same folder
guess its a server issue :!:
just incase tho
here is my web.config code
ASP.NET Syntax (Toggle Plain Text)
<configuration> <system.web> <authentication mode="Forms"> <forms name=".validation" loginUrl="log.aspx" protection="All" timeout="30" path="/"> <credentials passwordFormat = "Clear"> <user name ="abc" password = "123"/> </credentials> </forms> </authentication> <authorization> <deny users="?" /> </authorization> </system.web> </configuration>
•
•
Join Date: Dec 2004
Posts: 1,655
Reputation:
Solved Threads: 35
I think they have to be part of the project. I admit that's just a guess. Perhaps someone else can chime in on this thread and confirm that. But since ASP.NET applications are compiled, that's my guess... that any HTML files added to the project are "compiled into" the application, and thus partake in its security.
would that be a part of the global.asax or web.config
i tried doing a search on it
found a couple of things on setting up projects using ms dev studio but i'm sure there has to be a manual way of doing it.
that’s why i was initially thinking about the JS element to authenticate the individual pages.
i have 3 asp scripts in the same folder as the core htmls and each of those gets a login but seems the plain htm files aren’t in that group.
i'd think there should be a tag or some declaration for it to be picked up
thanks,
MagusDF
i tried doing a search on it
found a couple of things on setting up projects using ms dev studio but i'm sure there has to be a manual way of doing it.
that’s why i was initially thinking about the JS element to authenticate the individual pages.
i have 3 asp scripts in the same folder as the core htmls and each of those gets a login but seems the plain htm files aren’t in that group.
i'd think there should be a tag or some declaration for it to be picked up
thanks,
MagusDF
•
•
Join Date: Dec 2004
Posts: 1,655
Reputation:
Solved Threads: 35
Try this screenshot:
http://www.tgreer.com/daniweb/IIS-html.gif
1) start IIS Admin, from your Adminstrative Tools start menu.
2) highlight Default Web Site (or the appropriate website), click Properties button on the menu
3) click the Home Directory tab.
4) click the "configuration" button
5) click "Add" button
6) In the "Executable", enter the same value that the ".aspx" value has, which will be an instance of the "aspnet_isapi.dll".
7) in the "Extension", type ".html".
9) click "OK, and so on to save your changes and close the IIS admin tool.
That should force HTML files to be processed via ASP.NET, and hopefully then participate in ASP.NET security.
http://www.tgreer.com/daniweb/IIS-html.gif
1) start IIS Admin, from your Adminstrative Tools start menu.
2) highlight Default Web Site (or the appropriate website), click Properties button on the menu
3) click the Home Directory tab.
4) click the "configuration" button
5) click "Add" button
6) In the "Executable", enter the same value that the ".aspx" value has, which will be an instance of the "aspnet_isapi.dll".
7) in the "Extension", type ".html".
9) click "OK, and so on to save your changes and close the IIS admin tool.
That should force HTML files to be processed via ASP.NET, and hopefully then participate in ASP.NET security.
![]() |
Similar Threads
- Forms Authorization/ Authentication using asp .net and vb .net (ASP.NET)
- ASP.net Cookies (Community Introductions)
Other Threads in the ASP.NET Forum
- Previous Thread: textarea Control in ASP.NET
- Next Thread: Page_Load never called when I browse to my aspx page
Views: 6455 | Replies: 21
| Thread Tools | Search this Thread |
Tag cloud for ASP.NET
.net 2.0 3.5 activexcontrol advice ajax application asp asp.net bc30451 bottomasp.net browser businesslogiclayer button c# c#gridviewcolumn chat checkbox child class click compatible confirmationcodegeneration content contenttype countryselector courier css database datagrid datagridview datagridviewcheckbox datalist deadlock development dgv dropdown dropdownmenu edit feedback flash flv folder form forms google grid gridview homeedition hosting identity iframe iis index javascript jquery list menu mono mssql multistepregistration nameisnotdeclared object objects order problem profile ratings refer rotatepage save search security serializesmo.table session silverlight smartcard software sql suse textbox tracking typeof unauthorized update validation vb vb.net video view virtualdirectory vista visual-studio visualstudio vs2008 web webarchitecture webdevelopemnt wizard xml






