Jump to content


Photo

Check referer and update counter in cookie ?


  • Please log in to reply
No replies to this topic

#1 ponik

ponik
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 14 April 2003 - 09:43 AM

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users