[flexcoders] Re: tracking a user session

2007-02-01 Thread mthielman11
thanks for the feedback.  We are thinking of some type of object stored and 
passed with 
every HTTP service call.  just not quite sure how to do it.  I will pass this 
along to my 
programmers.  



Re: [flexcoders] Re: tracking a user session

2007-01-31 Thread Rachel Maxim

I had a similar issue, I used ColdFusion to manage the authentication and to
create a session ID, then I had a remoteObject in Flex that called that CFC
to get the credentials. If the length of the session, etc is of importance
than you would probably also want to include the creation time in the data
returned by the back end. Then you could manage the priviledges with
ActionScript. You could always call the remote object or service again to
verify.

HTH

Rachel

On 1/31/07, superstella_uk <[EMAIL PROTECTED]> wrote:


Im guessing you want to pass the session id onto any web servics
called from Flex? Maybe you could have the initial dyn html pages pass
the session to the flash applet, and the Flex can pick that up and
send it along with a param to all server calls?




[flexcoders] Re: tracking a user session

2007-01-31 Thread superstella_uk
Im guessing you want to pass the session id onto any web servics
called from Flex? Maybe you could have the initial dyn html pages pass
the session to the flash applet, and the Flex can pick that up and
send it along with a param to all server calls?

--- In flexcoders@yahoogroups.com, "mthielman11" <[EMAIL PROTECTED]> wrote:
>
> I am having a surprisingly very difficult time finding a concrete
> answer as to how to handle sessions in flex. We need to be able to
> track a user once they are logged into the system.  Security in our
> app is critical and every post needs to be validated.  IN our current
> web app we simply had a string added to the end of each url that
> tracked the users session.  What is the best way to handle this in
> flex??  We need to know and track session validity, timeout, logout
> and prvilages to modules and features. thanks.  Our back end is
> java/postgres.
>