Thanks Yarko, I'll take a look. Appreciate the swift response :o)
On Apr 20, 7:39 pm, Yarko Tymciurak <yark...@gmail.com> wrote: > On Mon, Apr 20, 2009 at 1:09 PM, TeamBlack <teamblac...@googlemail.com>wrote: > > > > > Hi, > > > I did search but didn't find what I was looking for. Using web2py > > 1.56, is it possible to find out the referring url when someone visits > > your web2py site? Just to put it in plain terms, an example would be > > if someone visited my site by clicking on a link on some myspace, > > would I be able to "grab" that url (e.g. "http://www.myspace.com/ > > somemyspaceuserspage") so that it can be stored and viewed later? The > > purpose of this would simply be for some basic reporting and stats. I > > know there are pieces of software one can obtain, but I'm interested > > to know if it can be done without having to introduce foreign code > > into my apps. > > > Any help would be greatly appreciated. > > Have a look > athttp://www.web2py.com/examples/default/examplessepcificallyhttp://www.web2py.com/examples/simple_examples/hello6 > > you'll see request.http_referer > > > > > Thanks! > > > TeamBlack --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---