Jump to content

Archived

This topic is now archived and is closed to further replies.

ponik

Check referer and update counter in cookie ?

Recommended Posts

Hi,

 

I\'m not sure how achieve this:

 

---

if referer in ( some regexps ):

 

if not known userID:

create cookie and increment count for that domain

endif

 

if count for domain > 10:

offer to user to set homepage=our page (redirect)

endif

 

endif

---

 

Can this be done by some kind of apache modules or is better to use some proxy. We need this for static pages also. So it\'s not issue of application.

 

Thanks for your notion.

 

Pony

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.