[Privoxy-users] Reg: Forcing first-time clients to acknowledge a page before accessing the webpage requested per session
    Fabian Keil 
    fk at fabiankeil.de
       
    Fri Jan 22 13:48:07 UTC 2021
    
    
  
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.privoxy.org/pipermail/privoxy-users/attachments/20210122/e26b5384/attachment.bin>
    
    
More information about the Privoxy-users
mailing list