注册用户的链接过期 [英] link expiry from registered users

查看:59
本文介绍了注册用户的链接过期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 在我的项目中,我有以下要求.
向登录的用户发送带有登录链接详细信息的邮件.经过一定时间后,用户单击登录链接后,登录链接将不起作用.

Hi In my project I have the requirement as follows.
sending a mail to registered users with sign in link details.After a certain period of time elapses, the signin link should not work when user clicks on it.

推荐答案

use链接中的时间戳记(作为查询字符串),如果链接和服务器时间的增量时间超过某个时间段,则显示断开链接的消息.
加密时间字符串,以使用户不会理解或更改它.
use a time stamp in your link, as query string, if the delta time of link and server time is more than some time period, display a msg of broken link.
crypt the timestring so user wont understand or change it.


这篇关于注册用户的链接过期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆