Re: [Lazarus] fpWeb - Redirects

2011-05-19 Thread ABorka
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. -- ___ Lazarus mailing

Re: [Lazarus] fpWeb - Redirects

2011-05-19 Thread michael . vancanneyt
On Thu, 19 May 2011, Lee Jenkins wrote: Is it enough to change AResponse.Code := 3xx and AResponse.Location := 'http://...; from within a handler to cause a redirect? It should be, yes. Michael. -- ___ Lazarus mailing list

[Lazarus] fpWeb - Redirects

2011-05-18 Thread 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 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org