On 6/16/06,
Daniel Tuppeny <[EMAIL PROTECTED]> wrote:
Can't you save the data in a cookie?
Hi Abdul,
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of sreedhar reddy
Sent: 16 June 2006 11:23
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Session Management
Thanks for your reply. What I meant by maintain session is that I want to be able to close the browser window, reopen it, come back to the same website, and have the site remember my preferences without logging in again. Essentially a "remember me" option. An example is www.pandora.com. I can create a new radio station, close the window, go back there, and my station will still exist. And that's without logging in. Of course, Pandora was done with Open Lazlo, but I was hoping I could implement the same sort of functionality in Flex, preferably without using Flex Data Services.
Thanks & Regards,
Sreedhar
Abdul Qabiz <[EMAIL PROTECTED]> wrote:Hi Sreedhar,
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..
-abdulOn 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/
Thanks & Regards,
Sreedhar
Yahoo! India Answers: Share what you know. Learn something new Click here
Send free SMS to your Friends on Mobile from your Yahoo! Messenger Download now
[Inbound Mail Scanned by MessageLabs]
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
--
::| Carlos Rovira
::| http://www.carlosrovira.com __._,_.___
--
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.
__,_._,___
- 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