|
-
August 14th, 2008, 07:06 AM
#1
User-Agent Detection And IIS Plugin
Hi gurus,
I have a site developed in php
Now here I want to develop a "mobile-friendly module" (a plugin-in for IIS) using dotnet which will detect the mobile-user-agent & non-mobile-user-agent
..
How can I do this task..
How do I write a plugin for IIS which will execute first before actually showing the website.
For eg :-
my website:- www.example.com
When a user hits this website, a plugin shud come in picture which will give me the results about the user-agent
-
August 14th, 2008, 08:12 AM
#2
Re: User-Agent Detection And IIS Plugin
You don't need to write a plugin.
Get WURFL into your app:
http://wurfl.sourceforge.net/php/
Hope this helps
Last edited by HairyMonkeyMan; August 14th, 2008 at 08:16 AM.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rich Cook
0100 1101 0110 1001 0110 0011 0110 1000 0110 0001 0110 0101 0110 1100 0010 0000 0100 0101 0110 1100 0110 1100 0110 0101 0111 0010
-
August 18th, 2008, 01:17 AM
#3
Re: User-Agent Detection And IIS Plugin
and what if the website is developed in dotnet
I dont want to touch the website for detecting the user-agent and then handling the database processing wrt to it
Need to write a module which wud run before actually showing the website..
-
August 18th, 2008, 03:40 AM
#4
Re: User-Agent Detection And IIS Plugin
There is also a dotnet version of wurfl. You could write a plugin with this if thats what you need.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rich Cook
0100 1101 0110 1001 0110 0011 0110 1000 0110 0001 0110 0101 0110 1100 0010 0000 0100 0101 0110 1100 0110 1100 0110 0101 0111 0010
-
August 21st, 2008, 09:25 AM
#5
Re: User-Agent Detection And IIS Plugin
Can anyone pls point in the right direction of writing an ISAPI extension (.dll) using C# or ASP.net
and how to configure this extension in IIS which will run at runtime..
Jus a proper example wud help me a lot..
This IIS shud give control to my isapi extension dll (eg: myDLL.dll) when the user hits an URL (for eg: www.abc.com)
Pls help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|