On Wed, Apr 29, 2009 at 8:49 AM, vihang <[email protected]> wrote: > Is there any way to know which the current page was redirected from? > Esp, when one calls redirect(), I would like to know the previous page > from the redirected page. I was hoping that info would be there in > request.env.http_referer, but thats not case. Any thoughts?
Did you try: session.old_url = request.env.http_referer redirect(URL(...)) or I didn't understand your question? -- Álvaro Justen Peta5 - Telecomunicações e Software Livre 21 3021-6001 / 9898-0141 http://www.peta5.com.br/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

