Re: [web2py] Using request.env.http_referrer to link to previous page

2011-06-30 Thread Richard Arts
On Thu, Jun 30, 2011 at 2:55 AM, Jonathan Lundell wrote: > On Jun 29, 2011, at 1:18 PM, Richard Arts wrote: >> >> Can somebody point out to me how to use the request.env.http_referrer >> to link to the previous page? >> >> So far I have tried the following in the template file: >> {{=A('Back', _hr

Re: [web2py] Using request.env.http_referrer to link to previous page

2011-06-29 Thread Jonathan Lundell
On Jun 29, 2011, at 1:18 PM, Richard Arts wrote: > > Can somebody point out to me how to use the request.env.http_referrer > to link to the previous page? > > So far I have tried the following in the template file: > {{=A('Back', _href=URL(request.env.http_referrer))}} > but it links to the curre

[web2py] Using request.env.http_referrer to link to previous page

2011-06-29 Thread Richard Arts
Hello, Can somebody point out to me how to use the request.env.http_referrer to link to the previous page? So far I have tried the following in the template file: {{=A('Back', _href=URL(request.env.http_referrer))}} but it links to the current page. Trying to supply the http_referrer through a d