File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "enable web access from email url link" Watch "enable web access from email url link" New topic

enable web access from email url link

Kan Qiu

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

Joined: Jan 23, 2002
Posts: 11962
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
I agree. Here's the link:
subject: enable web access from email url link
jQuery in Action, 3rd edition