• 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: get confirmation of a payment from other website via a direct action, how to get back to a shopping session?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: get confirmation of a payment from other website via a direct action, how to get back to a shopping session?


  • Subject: Re: get confirmation of a payment from other website via a direct action, how to get back to a shopping session?
  • From: Pascal Robert <email@hidden>
  • Date: Thu, 28 May 2009 09:35:50 -0400


Le 09-05-28 à 09:33, Mike Schrag a écrit :

you'll either be using cookies, which species sessionid + instance id, or you'll be using URL encodingand your direct action URL will have both the instance ID as well as ?wosid=xxx in the URL (http://yoursite/cgi-bin/WebObjects/YourApp.woa/instanceid/daname?wosid=xxx ) ... should work fine

ms
Does this also work with several machines running instances? I can imagine it works fine on one server, but as far as I know there is not some shared context over servers, or is there?
instance number is encoded in the URL or in a cookie ... in a standard setup with one apache in front, you will be routed to the correct server based on your instance number*, which will then have the corresponding session id. every time someone clicks a link in your stateful app, they are getting routed to the same server -- wo would just explode in a ball of flames if this didn't function properly.

ms

* and if you have a load balancer in front, it obviously needs to understand sticky sessions, but again, nothing would work right in your app if this wasn't already happening


That topic (load balancing) have to be a topic at WOWODC 2010!


------------------------------------------------------- Pascal Robert

http://www.macti.ca | http://www.linkedin.com/in/macti

Skype | Twitter | AIM/iChat : MacTICanada

_______________________________________________
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


References: 
 >get confirmation of a payment from other website via a direct action, how to get back to a shopping session? (From: Johan Henselmans <email@hidden>)
 >Re: get confirmation of a payment from other website via a direct action, how to get back to a shopping session? (From: Mike Schrag <email@hidden>)
 >Re: get confirmation of a payment from other website via a direct action, how to get back to a shopping session? (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: get confirmation of a payment from other website via a direct action, how to get back to a shopping session?
  • Next by Date: Re: get confirmation of a payment from other website via a direct action, how to get back to a shopping session?
  • Previous by thread: Re: get confirmation of a payment from other website via a direct action, how to get back to a shopping session?
  • Next by thread: Re: get confirmation of a payment from other website via a direct action, how to get back to a shopping session?
  • Index(es):
    • Date
    • Thread