List Info

Thread: How to get complete url of current request?




How to get complete url of current request?
user name
2006-04-17 18:11:21
Certain parts of my web site require a login. If the user is
not logged
in, I would like to redirect them to a login/register page
and once
they login redirect them to their original request.

To do this, I need to find out the url of the current
request?

Thanks,

VJ


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

How to get complete url of current request?
user name
2006-04-17 21:58:51
2.1
cherrypy.request.path
I'm not sure about other versions

On 4/17/06, pytrade <vinjvinjgmail.com> wrote:
>
> Certain parts of my web site require a login. If the
user is not logged
> in, I would like to redirect them to a login/register
page and once
> they login redirect them to their original request.
>
> To do this, I need to find out the url of the current
request?
>
> Thanks,
>
> VJ
>
>
> >
>


--
[]'s,
Luiz Carlos Geron

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )