It's up to the caller to maintain that state.  It might be done with
session variables, a database, whatever, that's not your concern.  The
point is that you have to have something stateful, and it has to be
managed on the client side (the PHP app, in this case).

If the client needs to do the calls over a period of time, with
different requests, and even different users initiating the
interaction, then the client needs to either have some appropriate
storage, or just accept the fact that they'll have to reauthenticate
every time.  Your job isn't to figure out how to deal with that, you
just have to provide a means for them to do it.

Note that the sessionID I mentioned is created and managed by me and
is 100% separate from CF's session management (which I don't use in
favor of a client variables-ish setup).  Nothing to do with CF at all,
becuase CF's tracking capabilities are tailored to client-side
browsers.

cheers,
barneyb


On Mon, 24 Jan 2005 17:30:04 -0600, Matt Knight <[EMAIL PROTECTED]> wrote:
> That scenareo will work...as long as all requests are within a single
> execution (1 HTTP request)
> 
> What about this scenario:
> 
> At X time, RPC call is made - server responds with sessionID
> At X + 10 mins. - another call is made.  Since the client does not
> accept cookies, the CF server creates a new session.
> 
> I want to go back to the original session.  How can you tie future
> requests to the first session.
> 
> I know I can access the session object (jrunx.kernel...) and get session
> data by ref. the sessionID.  I'd prefer not to do that.
> 
> Any ideas?
> 
> 
> Matt Knight
> [EMAIL PROTECTED]
> Senior Application Engineer - iMatch
> tel: 214-576-9532
> 

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 8 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware: a new and convenient web-based time tracking application. Start 
tracking and documenting hours spent on a project or with a client with Logware 
today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191618
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to