Professional Web Applications Themes

SES URLs - Coldfusion - Advanced Techniques

I know this has been posted on many other forums, BUT; Can anyone point me in the right direction for ses urls? They must work on pretty much any server, so no isapi filters or apache mod rewrites... All the stuff i can find is either poorly doented or doesn't work. Thanks in advance...

Sponsored Links
  1. #1

    Default SES URLs

    I know this has been posted on many other forums, BUT;
    Can anyone point me in the right direction for ses urls? They must work on
    pretty much any server, so no isapi filters or apache mod rewrites...
    All the stuff i can find is either poorly doented or doesn't work.
    Thanks in advance

    Sponsored Links
    xSeanx Guest

  2. #2

    Default Re: SES URLs

    xSeanx wrote: 

    Use this simple script in Application.cfm:

    <cfset sVars = ListToArray(CGI.PATH_INFO, "/")>
    <cfset currentPosition = 1>
    <cfloop condition="currentPosition lte ArrayLen(sVars)">
    <cfset SetVariable("url.#sVars[currentPosition]#", sVars[currentPosition +
    1])>
    <cfset currentPosition = currentPosition + 2>
    </cfloop>

    The url's must be of form: index.cfm/var/varvalue/var2/varvalue2

    --
    <mack />


    Neculai Guest

  3. #3

    Default Re: SES URLs

    Take a look at this TechNote, it should provide some help for you.

    http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=2addd247
    mcollins Guest

Similar Threads

  1. Links - URLs
    By janeb@adobeforums.com in forum Adobe Acrobat Windows
    Replies: 2
    Last Post: April 19th, 02:06 PM
  2. dynamic URLS convert to static URLS for search engines
    By Steve T. in forum ASP.NET Web Services
    Replies: 7
    Last Post: March 4th, 03:16 PM
  3. Different urls to same ws?
    By Jukka Kenttälä in forum ASP.NET Web Services
    Replies: 1
    Last Post: January 8th, 08:26 AM
  4. URLs
    By Constance in forum Windows Networking
    Replies: 2
    Last Post: July 18th, 02:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139