wap_returnredirect

one of the documented procedures in this installation of the ACS
Usage:
wap_returnredirect   url   { message "Redirecting." }
What it does:
Redirection for WAP devices. Not clear that 302 redirects are reliable.
Defined in: /web/philip/tcl/wap-defs.tcl

Source code:



    # Let's try regular 302 redirection.
    #ad_returnredirect $url
    #return

    # If we have problems, we'll revert to this sort of thing...
    # We must make sure that this page is NOT CACHED on the user agent.
    wml_return -no_cache_p 1 "
<wml>
  <head>
    <meta http-equiv=\"Cache-Control\" content=\"max-age=0\"/>
  </head>
  <card onenterforward=\"$url\">
    <do type=\"accept\">
      <go href=\"$url\"/>
    </do>
    <p>$message</p>
  </card>
</wml>"
    return 


philg@mit.edu