Click here to Skip to main content
16,016,306 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
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
Posted

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.
 
Share this answer
 
Comments
Priyanka Bhagwat 21-Aug-13 2:01am    
hello,thank you for your reply
i an able to detect which browser the user has opened the website..
now i have the name of the current browser.
Can i add this name to my verification link?and how?
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
 
Share this answer
 
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.
 
Share this answer
 
Comments
Priyanka Bhagwat 21-Aug-13 1:51am    
hello,thank you for your reply
i am sending the following verification link
http://localhost:2222/Activation.aspx?VerificationCode="Ws23UU1qwe"

right now as the website is not developed i have givin my localhost number

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900