Re: Reg: Forcing first-time clients to acknowledge a page before accessing the webpage requested per session
Fabian Keil <[email protected]> Fri, 22 Jan 2021 14:48:07 +0100
| Newsgroups | gmane.comp.web.privoxy.user |
|---|---|
| Message-ID | <[email protected]> |
Ramesh GK <[email protected]> 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 _______________________________________________ Privoxy-users mailing list [email protected] https://lists.privoxy.org/mailman/listinfo/privoxy-users
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEETzbBfzgWkTZUoehQaRgikYuiNxwFAmAK15cACgkQaRgikYui Nxw07g//Zp84KWfLB1XZLWeCnbykMx9NDdnksn0rScuCR4PLEyqpHK9YnZPTSsm+ 59wXPZR2r+pwBMGdE0B/3+xEwtuKJas7qnoOaPNeRPqLq80FioCSuS8jPbuPmsGU Sj62LDZfTbWqiP2dVYHf+G9aOku2X5CfD2TKutXEI/UMAbIuE12kAG7ZYRNEV2uq Evdhk1XGCTOM4jSUBaFKc7qperIxaf6GSiuvPQp9DGOqi8DRlMJlt9yaTixn8qFy VB5cQk5dnnQYD9ldnmvN2vBOuyG0vPe/OXpXteakdM6n2g/vap8Cqct7uvmY8Me8 qd4xUk5V1xrBXq7hDPk0l7bD48HR41w1jF7ZOTV7o7SeRmikGUQvUOtvlvNLDJCo ioFrOHOs/6NhzlgGXKDTAsleXzyiTteVUEhPlnSE9Ph/RPsw7ijTao5YboLijpmr kntcfs92Fyyp3xeWoe+7OX2Ls89ZzbdY8RIUnE3++/40wvq9Y5uJSc2MoRaCExux 66w2AJH6095Mipa4iV1neMteSOsrNvyMFdwnTsbnFBVIbCMtB5u4iHrpFibUgXuR Lq5RQQqTAJF3i71gVp6otxJrz5Qqc+TSJhOUfhZX9yRc5jOi021bbM4vtw3O2Ks1 6Pf/q2wz9YWMHh8SBdMxyrrS0AJcF2g+qRKpach6X4BnkDXUxYk= =Xeo9 -----END PGP SIGNATURE-----