Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tristan 1 post 21 karma points
    Jun 07, 2011 @ 09:07
    Tristan
    0

    Determine NodeID from url in HttpModule

    I have written a RewriteRule for the UrlRewritingNet module. In this rule i want to append alttemplate=[template] to the request based on the user agent. 

    [template] itself needs to be determined based on what template would normally be used for the requested page. So I need to determine either the templateid of the requested page, or the nodeid, from where i can obtain the templateid with a bit of querying.

     

    If it helps, what I am trying to do is dynamically redirect IE6 users to a toned down version of the website without actually using a redirect. If there is another solution for this; I would be happy to hear it.

    Thanks for any help you can provide!

    Tristan

Please Sign in or register to post replies

Write your reply to:

Draft