Hi List,

A strange question sure, but for curiosity's sake I'm trying to understand how 
the WebObjects adaptor maintains a mapping of instance ID cookie names to 
applications. Looking at the source it looks like "woinst" is hardcoded into 
the adaptor in config.h, and I can't find anywhere else the INST_COOKIE var is 
set. Then in _collectRequestInformation in transaction.c the cookie header is 
searched for the INST_COOKIE value ("woinst") to determine which app instance 
to send the request to (_collectRequestInformation writes to memory the app 
instance specified for the handleRequest function to look up later).

So I'm left wondering how the adaptor knows where to fetch the the instance ID 
from to forward requests to. I can see that it works, requests that create 
sessions with a custom instanceIdKey continue to find their way to the correct 
application instance, but why? Obviously I'm missing something, would love a 
hand figuring out what!

-Ben _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to