logo       

Re: Modules & file extensions: msg#00069

windows.devel.dotnet.web

Subject: Re: Modules & file extensions

I could be wrong but I don't think .CSS, .GIF, .JPG, etc files are
handled through .Net by default.

I think the asp_net workder process is an ISAPI handler of some sort
that only handles ASP.Net file extensions that are registered to it
which includes [by default] .ASPX.

So I don't think you need to do anything - onAuthenticate won't fire for
.gif, .css, etc. I'm not sure if it fires for .HTML or not.

James C.
-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
[mailto:DOTNET-WEB@xxxxxxxxxxxxxxxxxxx] On Behalf Of Robert Rolls
Sent: Thursday, June 09, 2005 12:53 AM
To: DOTNET-WEB@xxxxxxxxxxxxxxxxxxx
Subject: Modules & file extensions

How could I check what the current requested files extension is - I've
handled the onAuthenticate event but don't want to bother if the file in
question if a giff or css etc?



Regards

Robert.




===================================
This list is hosted by DevelopMentor(r) http://www.develop.com

View archives and manage your subscription(s) at
http://discuss.develop.com

===================================
This list is hosted by DevelopMentor® http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise