When you say maintain session, I take it as maintain session across the pages, right?
In RIA world, there is no concept of pages and everything is a view. I can tell you one of the ways,
I have tried.
1) With Flash Remoting or OpenAMF gateway:-
Added a servlet filter on server, this servlet accepts and client requests, make sure of session and all and
forward requests to AMFGateway servlet
2) With HTTP POST/GET approach, I would pass the session-id to client and keep it on client side. With every request and I would pass the session-id to server. On server, you can check if session is still valid, if not return a error code which client procesess and shows relevant feedback to user.
I am not server-side guy, so I am sure there would better approaches. But that is how, I did things...KISS way..
-abdul
On 6/15/06, sreedhar reddy
<[EMAIL PROTECTED]> wrote:
Hi,
I am using Flex Builder 2.0 Beta 3 with Java Server Pages and Apache Tomcat 5.5 Server, and I want to mantain a session for a particular user when he logs in using his userid and password. Is it possible to implement this with just the Flex 2 SDK, or do we require Flex Data Services as well. Any help would be greatly appreciated.
Thanks & Regards,
SreedharSend instant messages to your online friends http://in.messenger.yahoo.com
Stay connected with your friends even when away from PC. Link: http://in.mobile.yahoo.com/new/messenger/
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
![]()
SPONSORED LINKS
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- [flexcoders] Session Management sreedhar reddy
- Re: [flexcoders] Session Management Abdul Qabiz
- Re: [flexcoders] Session Management sreedhar reddy
- Re: [flexcoders] Session Management Carlos Rovira
- Re: [flexcoders] Session Management Tom Chiverton
- RE: [flexcoders] Session Management Carson Hager
- RE: [flexcoders] Session Management Daniel Tuppeny
- Re: [flexcoders] Session Management Carlos Rovira
- RE: [flexcoders] Session Management Daniel Tuppeny
- RE: [flexcoders] Session Management Daniel Tuppeny
Reply via email to

