Looking further into the manual, the $requestInfo text array is very
specific, and I have created it based on the code in On Web Connection as
stated in the manual.
But the status is still 403.
I Execute the command on the server as stored procedure, and I get status
200. But the session is still there. Viewing in the session monitor, it
does not abandon as I think it should.
Shouldn't the session be dropping?
Thanks.
On Jan 29, 2008 2:39 PM, Michael Check <[EMAIL PROTECTED]> wrote:
> Thanks for this code. I am trying to understand it (and trying to get it
> to
> work). It is returning a result code of 403 (forbidden).
> I am tripping in a couple of places.
> * A4D Execute Text needs the RequestInfo as part of it's input according
> to
> the docs. I'm not sure what I am supposed to send in there. Obviously a
> text array, but is it the information from the server (that holds the open
> session?) We are trying to cancel the session from a 4D client.
> * the query for ACTIVE4D_SESSIONID which is the cookie var for the
> external
> session id. what set of data is the query string searching.
>
> Sorry if this seems basic. I am looking at the docs but perhaps do not
> understand direct execution.
>
> Thanks,
>
> Michael Check
>
> On Jan 23, 2008 1:43 PM, Aparajita Fishman <[EMAIL PROTECTED]>
> wrote:
>
> > > Using the internal ID, then, is there way to force abandon a session
> > > from
> > > within 4D?
> >
> > You can if you have the external session id.
> >
> > ARRAY TEXT($requestInfo;0)
> > ARRAY TEXT($headerNames;0)
> > ARRAY TEXT($headerValues;0)
> > C_BLOB($response)
> > $status:=A4D Execute text("<%abandon session%>"; "ACTIVE4D_SESSIONID="+
> > $sessionID; $requestInfo; $headerNames; $headerValues; $response)
> >
> >
> _______________________________________________
> Active4D-dev mailing list
> [email protected]
> http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
> Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
>
--
Thanks,
Michael Check
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/