sarfraznawaz2005/visitlog

How to log for new record, even with same IP?

Closed this issue · 1 comments

blu94 commented

I have to log a new record from same IP, but different date, how can i do it?

@blu94 First of you would need to set 'unique' option to false and then modify visitlog/src/VisitLog.php's save() method so it considers differnent dates only when saving as there is no built-in functionality currently. Currenly it can only be unique IPs or same IPs any number of times on same day.