wood burning stoves 2.0*
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: 1478
    
    1
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|
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Link in Email Message not Consitantly Responding