• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
restoring session in servlet deployment context
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

restoring session in servlet deployment context


  • Subject: restoring session in servlet deployment context
  • From: "Jérémy DE ROYER [INGENCYS]" <email@hidden>
  • Date: Wed, 18 Apr 2012 11:46:35 +0200

Hello,

We have APIs that use HTTP/GET or POST direct actions according to this scheme :
- authenticate direct action -> returning a sessionID
- asking for a direct action with a sessionID -> if authenticated, returning the response

Problem is that it doesn't work with servlet deployment except if using ie, firefox or safari because of the lack of httpSession, used by servlet context to restore the (wo)session.

Problem is that we have developed java tasks or iPhone apps that work with web objects apps sending requests and receiving responses.

But it does not work in a servlet deployment context.

I tried to use WOApplication.application().restoreSessionWithID(sessionId, context()) but no way to restore.

Any idea ?

Jérémy
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: restoring session in servlet deployment context
      • From: "Jérémy DE ROYER [INGENCYS]" <email@hidden>
  • Prev by Date: WOUnit
  • Next by Date: Re: WOUnit
  • Previous by thread: Re: WOUnit
  • Next by thread: Re: restoring session in servlet deployment context
  • Index(es):
    • Date
    • Thread