no because web2py does not know what the full url is from the
prospective of the client. For example there may be one of multiple
proxies in between. This is a major problem. This is what causes some
problems to CAS users.

Massimo

On 29 Apr, 11:21, vihang <[email protected]> wrote:
> Agreed, but can we have a session variable with the path updated
> automatically every time redirect() is called ?... that would be very
> useful
>
> On Apr 29, 7:16 pm, mdipierro <[email protected]> wrote:
>
> > There is no straight forward way because I do not trust the browser to
> > handle this properly
>
> > On 29 Apr, 09:24, Wes James <[email protected]> wrote:
>
> > > If Massimo doesn't indicate a straight forward way for this, you can
> > > stuff the value in to your own session variable.
>
> > > -wj
>
> > > On Wed, Apr 29, 2009 at 5:49 AM, vihang <[email protected]> wrote:
>
> > > > Hi,
>
> > > > 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?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to