Home  >  Article  >  Backend Development  >  web记录用户浏览站点的所以url,需要能检索

web记录用户浏览站点的所以url,需要能检索

WBOY
WBOYOriginal
2016-06-06 20:07:241172browse

<code>>站点需要记录用户经过的所用url。
 
直接保存数据的方案已被领导否决了!</code>

回复内容:

<code>>站点需要记录用户经过的所用url。
 
直接保存数据的方案已被领导否决了!</code>

拆分目录的方式保存,可以利用‘/’来拆分出目录层,然后按照这个目录层来保存具体的站点url,并最终时间检索

这样的需求可以在用户操作日志中记录,我的项目用的laravel做的,用户操作日志我是在中间件中记录的

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn