LiveCodeServer: redirecting with 'put header'

Matthias Rebbe matthias_livecode_150811 at m-r-d.de
Wed Dec 7 18:39:40 CST 2011


Hi,

i am trying to redirect to another URL 

with

<?lc
put "http://www.google.com" into tURL
put  header "Status: 301"
put header "Location:" && tURL
?>  

I tried it with 'put new header' also. I always get an Internal Server error.

Does anyone know, how i can redirect with  'put header'?
                      
Tried it now with LiveCodeSerer 3.5, 4.64 and 5.0.

Any suggestions?

Regards,

Matthias



More information about the use-livecode mailing list