aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 1391
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: 2713
    
    5

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|
     
    Consider Paul's rocket mass heater.
     
    subject: Link in Email Message not Consitantly Responding
     
    Similar Threads
    My forum can't send email to activate register and it show error when I open my forum in first time
    How to restrict opening multiple windows on the same link.
    Suggestions to make the site better - minor complaints
    enable web access from email url link
    Mouse Click Opens Web Browser?