ad_returnredirect

EveAndersson.com : API Browser : ad_returnredirect

ad_returnredirect

ad_returnredirect target_url
Defined in packages/acs-core/utilities-procs.tcl

A replacement for ns_returnredirect. It uses ns_returnredirect but is better in two important aspects:

  • When the supplied target_url isn't complete, (e.g. /foo/bar.tcl or foo.tcl) the prepended location part is constructed by looking at the HTTP 1.1 Host header.
  • If an URL relative to the current directory is supplied (e.g. foo.tcl) it prepends location and directory.

Parameters:
target_url
[ show source ]

Show another procedure:

eve@eveandersson.com