disable visit/identity completely in tg 1.5

7 views
Skip to first unread message

Fetchinson .

unread,
May 3, 2016, 8:36:47 AM5/3/16
to turbogears
Hi folks,

I'm trying to disable all visit and identity features for a tg 1.5 app
so I'm setting

visit.on = False
identity.on = False

in config/app.cfg but somehow when I start the app I still see

2016-05-03 14:34:47,170 turbogears.startup INFO Starting TurboGears
extension visit = turbogears.visit...
2016-05-03 14:34:47,171 turbogears.startup INFO Starting TurboGears
extension identity = turbogears.identity.visitor...

and also the server still sends a tg_visit cookie.

What am I doing wrong?

Cheers,
Daniel



--
Psss, psss, put it down! - http://www.cafepress.com/putitdown

Fetchinson .

unread,
May 3, 2016, 8:50:53 AM5/3/16
to turbogears
On 5/3/16, Fetchinson . <fetch...@googlemail.com> wrote:
> Hi folks,
>
> I'm trying to disable all visit and identity features for a tg 1.5 app
> so I'm setting
>
> visit.on = False
> identity.on = False
>
> in config/app.cfg but somehow when I start the app I still see
>
> 2016-05-03 14:34:47,170 turbogears.startup INFO Starting TurboGears
> extension visit = turbogears.visit...
> 2016-05-03 14:34:47,171 turbogears.startup INFO Starting TurboGears
> extension identity = turbogears.identity.visitor...
>
> and also the server still sends a tg_visit cookie.
>
> What am I doing wrong?

It looks like the cookie was left from some time ago, if I delete it,
it doesn't get recreated so actually it looks like everything is fine.
Reply all
Reply to author
Forward
0 new messages