File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes enable web access from email url link Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "enable web access from email url link" Watch "enable web access from email url link" New topic
Author

enable web access from email url link

Kan Qiu
Greenhorn

Joined: Nov 26, 2002
Posts: 16
I have a web application, it ask user to login with password, after login, it will check user's email address, if user does not have email address or email address is invalid, it will disable all the menu in the page and ask user to input a valid an email address, after that, the web application will send an email to this email account, user have to enable the web site from the url link in the email. now, I get problem when I click the link, it would not remember the user and the user need to login again.(I ask user to not logout and leave the browser to open). I can copy the url and put the url in the open broswer, this will work. Is there a way user just click the link and enable the site without login again?
any help is welcome.


Kan Qiu<p>SCJP<br />SCWCD
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
You could, for example, make the email activation URL not be part of the "login required" area.
Anyway, this has nothing to do with web services so I'll ask the moderator to move this post somewhere more appropriate.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
I'll move this to the servlet forum for you.


Matthew Phillips
 
Consider Paul's rocket mass heater.
 
subject: enable web access from email url link