
March 2nd, 2002, 03:11 AM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,575
  
Time spent in forums: < 1 sec
Reputation Power: 23
|
|
|
<httpModules> cannot work well in <location> tag?
<i><b>Originally posted by : shell (shell_wang@hotmail.com)</b></i><br /><br />Hi, guys!<br /><br />I am trying <location> tag in web.config, but I found the <httpModules> part cannot work inside the <location>.<br />I tried <authentication> tag inside <location> also, which can work. anybody can help me out this?<br /><br /><location path="Info.aspx"> // Info.aspx is in the same dir of web.config<br /> <system.web><br /> <httpModules><br /> <add type="..." name="..." /> //this one is correct, which i tried outside of location<br /> </httpModules><br /> </system.web><br /></location><br /><br />Is there anything wrong? How can I combine a httpModule to a specific file?<br />Thanks a lot!
|