Re: Transferring to a new URL in CGI

new topic     » goto parent     » topic index » view thread      » older message » newer message

Print a header string:

Location: thenewurl.

Example:

if error_is_found then
    -- redirect user to a new page
    puts(1, "Location: errorpage.htm\n")
    puts(1, "Content-type: text/html\n\n")
end if
        


j> Does anyone have readily available the Euphoria code line that would
j> load a new web page and transfer the user to it ..... as in when an error
j> is found and I have an error page to send them to ?

j> Thanks, John D.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu