用户点击验证链接时打开相同的浏览器 [英] Open same browser when user clicks on verification link

查看:131
本文介绍了用户点击验证链接时打开相同的浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我的问题是,



例如:用户在 Mozilla Firefox 中打开网站。他完成了注册程序,然后在他的电子邮件中发送了验证链接。



我的问题是当用户点击验证链接时 Chrome浏览器正在初始化。

但是在Mozilla中启动的会话是没有用的,因此会话变量也是空白的。

我能做什么,以便当用户点击验证链接它应该检测网站浏览器并继续在同一个浏览器中

i不知道是否可能或任何替代方案;

请帮助

Hello,
My question is,

For example : User opens website in Mozilla Firefox. he completes the procedure of registration and then verification link is sent on his email.

my problem is that when the user clicks the verification link Chrome browser is being initialized.
but session which was started in Mozilla is of no use and hence the session variables are also blank.
What can i do so that when the user clicks the verification link it should detect the website browser and continue in the same browser
i don't know whether it is possible or any alternative ;
Please Help

推荐答案

你说:我的问题是,当用户点击验证链接时,Chrome浏览器正在初始化。



这是因为您的默认浏览器设置为Chrome。



打开特定浏览器中的链接请查看以下网址:



强制链接打开在特定的浏览器中 [ ^ ]



但我认为强制用户在特定浏览器中打开链接并不是一个好主意。



理由:

1.用户没有必要在他/她的机器上安装firefox

2.如果用户在Internet Explorer中打开了网站并通过验证链接,那么在Firefox中打开链接就会发生同样的问题。
You Said : "my problem is that when the user clicks the verification link Chrome browser is being initialized."

That is because your default browser is set to Chrome.

To open link in a specific browser Please have a look at the below URL :

Force a Link to open in a specific Browser[^]

But i think it's not a good idea to force user to open link in specific browser.

Reasons :
1. It is not necessary that user has installed firefox on his/her machine
2. If user has open website in Internet Explorer and through verification link you
open link in firefox then same issue will occur.


亲爱的,



i逻辑结构中的问题。



我在这种情况下所做的...

1.通用代码对于客户来说非常独特

2.通过点击此链接从电子邮件加载站点期间,您可以通过此验证码搜索客户的登录详细信息并加载会话变量。

3.然后客户可以进一步交易。



Happy Coding
Dear,

i think problem in logical structure.

what i did in this case ...
1. versification code is very unique for customer
2. during loading of your site from email by clicking on this link, you search the logon detail of customer by this verification code and load the session variables.
3.then customer can able to further transaction.

Happy Coding


嗨亲爱的,

首先要明白用户会使用任何浏览器。所以你不能限制它们也不可能。



无论你发送链接只指定整个参数。(在加密模式下)plz发送你的代码。



如果可能的话发送你的代码。



快乐编码。
Hi Dear,
first of kindly understand it user will use any browser. so u can't restrict them and also not possible.

whatever u sending link specify whole your parameters in that only.(in encryption mode) plz send your code.

if possible sent your code.

Happy coding.


这篇关于用户点击验证链接时打开相同的浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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