[Privoxy-users] Reg: Forcing first-time clients to acknowledge a page before accessing the webpage requested per session

Ramesh GK ramesh.gk at hotmail.com
Mon Jan 25 19:08:22 UTC 2021


Thanks for your help, Fabian.

I will have a check on this solution too.

Thanks
Ramesh GK
Phone: 408-462-0408

Strive not to be a success but rather to be of value - Albert Einstein

________________________________
From: Fabian Keil
Sent: Friday, January 22, 2021 8:48 AM
To: Ramesh GK
Cc: privoxy-users at lists.privoxy.org
Subject: Re: [Privoxy-users] Reg: Forcing first-time clients to acknowledge a page before accessing the webpage requested per session

Ramesh GK <ramesh.gk at hotmail.com> wrote on 2021-01-19:

> I am trying to use privoxy for a project and have a question on how we
> can force first-time clients to acknowledge a page before accessing the
> webpage requested per session. This is more of an acknowledgement page
> and once accepted, the client can browse the internet with rest of the
> filters applied as long as the session exists. I am assuming that this
> can be a cookie based solution but looking for some help on how to do
> this within privoxy.

It doesn't involve cookies but you could redirect all requests
to http://config.privoxy.org/client-tags, modify the client-tags
template to contain whatever the user is supposed to see and add
a client-specific tag that disables the redirect.

https://www.privoxy.org/user-manual/actions-file.html#REDIRECT
https://www.privoxy.org/user-manual/config.html#CLIENT-SPECIFIC-TAG

You may want to restart Privoxy occasionally so it clears the
client tag state.

Fabian


More information about the Privoxy-users mailing list