redirecting in tcl

Philip Greenspun's Homepage : Philip Greenspun's Homepage Discussion Forums : 6916 : One Thread
Notify me of new responses
what would be the tcl command to redirect the user to some url
ns_returnredirect url
doesn't seem to load the page automatically

-- Sriganesh Lokanathan, September 19, 1999


ns_returnredirect is the correct command, but you have to make sure you don't have ReturnHeaders (or anything else that returns headers, like ns_return 200 text/html) above it in your tcl script.

-- Eve Andersson, September 19, 1999