Click to See Complete Forum and Search --> : User-Agent Detection And IIS Plugin


connect_fc
August 14th, 2008, 07:06 AM
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

HairyMonkeyMan
August 14th, 2008, 08:12 AM
You don't need to write a plugin.

Get WURFL into your app:
http://wurfl.sourceforge.net/php/

Hope this helps :)

connect_fc
August 18th, 2008, 01:17 AM
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..

HairyMonkeyMan
August 18th, 2008, 03:40 AM
There is also a dotnet version of wurfl. You could write a plugin with this if thats what you need.

connect_fc
August 21st, 2008, 09:25 AM
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