• 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
Re: DirectAction with cookies and session
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DirectAction with cookies and session


  • Subject: Re: DirectAction with cookies and session
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 21 Sep 2009 19:53:16 -0700


On Sep 21, 2009, at 1:19 PM, Fred Wells wrote:


Hello,
If I missed this I apologize but I can't seem to find anything on this. I'm trying to test out SWFUpload within one of my WO apps.
It is currently set up to store sessionID in cookies. SWFUpload needs a post-upload URL for processing, I need the session information to be
available to that URL.

How are you making the URL? Cookies should be OK. Or the URL can have ?wosid=....



I can't seem to get DirectAction to 'isSessionIDInRequest' always comes up false and 'sessionID' always is null. I've tried
constructing the URL through WOActionURL and 'directActionURLForActionNamed'.

WOActionURL? WOContext you mean? If you are doing this in Java, WOContext.directActionURLForActionNamed should do what you want.




Both make a [what looks like] a valid directaction URL.
But when sent it never finds the session from the cookie. Is there something else I have to do when trying to use a DirectAction in a session?


Log out the request headers.  Is the cookie in there?


Chuck


-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects








_______________________________________________
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: DirectAction with cookies and session
      • From: Fred Wells <email@hidden>
References: 
 >DirectAction with cookies and session (From: Fred Wells <email@hidden>)

  • Prev by Date: Re: Very interesting case
  • Next by Date: Re: Rewrite Rule
  • Previous by thread: DirectAction with cookies and session
  • Next by thread: Re: DirectAction with cookies and session
  • Index(es):
    • Date
    • Thread