Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Servlets and the fly likes Link in Email Message not Consitantly Responding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Link in Email Message not Consitantly Responding" Watch "Link in Email Message not Consitantly Responding" New topic
Author

Link in Email Message not Consitantly Responding

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1393
I have java that sends an email message using stmp. The following link is embeded in the message.

http://gvas400.webergv.weber-intranet:10059/QMSWebApp/RMAAcknowledgeServlet?p1=1639072&p2=STEVE%20DYKE&p3=20121226142556859

If the QMSWebApp application is active(open) the link works fine. However, if I close the application and click the link I get a Session has Expired message in the jsp page.

How can I get this link to work without having to have the application open on the client side.
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

To make it work without session, the page you are accessing should be made stateless.
I see below approaches
  • Remove session management for that page.
  • Have a version of the page which is available even for anonymous users.
  • Have the page sign you on by passing sign-on parameters in the request.


  • SCJP, SCWCD.
    |Asking Good Questions|
     
    It is sorta covered in the JavaRanch Style Guide.
     
    subject: Link in Email Message not Consitantly Responding
     
    Similar Threads
    Mouse Click Opens Web Browser?
    enable web access from email url link
    How to restrict opening multiple windows on the same link.
    My forum can't send email to activate register and it show error when I open my forum in first time
    Suggestions to make the site better - minor complaints