First, are you certain that you need the IIS session?  Remember that Flex can retain state on the client between data calls back to the server.  Is the sole reason for needing the session that you want to time-out the user and make them log back in?

 

You could do this in Flex.  When the user logs in, send back to Flex the timeout period.  Then use a Flex “timer” to force the client to log back in. Just an idea. It is somewhat difficult to have the dot.net server “push” data to the client.  You would have to “poll” the server periodically to check the session timeout status.

 

I understand that WebOrb provides major integration between Flex and dot.net.  If my suggestion is not suitable, you could investigate that.

 

Tracy

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Murat Atif Sayar
Sent: Monday, July 24, 2006 5:49 PM
To: [email protected]
Subject: [flexcoders] Flex 2.0 with .net HTTP Services

 

Hi,

I want to make speak  flex with .net. I can do it with http services, its ok, there is no problem of this point.
I can get data with http services.

But I want to know, how can I open a new session with flex in .net, is it possible ? Or which way I can use  for it ?

on my application, I have these application tools and platform.


- My user interfaces on Flex 2
- Database connections – sql’s – business_rules on VisualStudio.NET application

- httpServlets (aspx) à written for xml connection

 I want;
- Users logon on FLEX,

- flex gets username and password,   and transfer to httpServlets (aspx), an OPENING a new session in ISS,
- aspx pages (xml pages)  return   session parameters, (like: login OK, )
- I can trace this parameters on Flex,
- And when session time out, Flex get some error  like “please re-activate your session, etc...

Have any idea ?

Ps. My English not good, sory,

Murat

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





YAHOO! GROUPS LINKS




__,_._,___

Reply via email to