Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-05

fpWeb - Redirects

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Lee Jenkins
Is it enough to change AResponse.Code := 3xx and AResponse.Location :=
'http://..." from within a handler to cause a redirect?

Thanks,

Warm Regards, Lee

Reply by email

ABorka
to Lee Jenkins
Show quoted text 9 lines
Is it enough to change AResponse.Code := 3xx and AResponse.Location := 'http://..." from within a handler to cause a redirect? Thanks, -- Warm Regards, Lee
Response.SendRedirect('http://...');

takes care of everything.

Reply by email