SharedObject in flex

0 views
Skip to first unread message

abhishekchess1

unread,
Apr 28, 2008, 5:36:46 AM4/28/08
to Chennai Flex User Group
hello,
i want to maintain session variables to store user login or not in
flex.
How to use shareobject for that , or is there any other way for such.
I'm using .net for backend.
thank you.

karan

unread,
Apr 28, 2008, 6:36:11 AM4/28/08
to chennai-fle...@googlegroups.com
Sessions can be maintained both in the server-side and client-side. I am not sure how it can be done in .net, but i think it must be pretty straight forward.
You can maintain session in flash also. SharedObject allows you store your data in the clients machine.

Look at this
http://livedocs.adobe.com/flex/2/langref/flash/net/SharedObject.html

SharedObject.getRemote function allows you to store data in Flash Media server.

Karan

sara

unread,
May 13, 2008, 8:20:44 AM5/13/08
to Chennai Flex User Group
Hi,

Have a asp.net file ...
call that file using httpservice
check in that asp.net file whether session exits and if so return xml
containing true or false as result

check withis link too...
http://groups.google.com/group/flex_india/browse_thread/thread/675e65dcf610dae6



~sara~

abhishekchess1

unread,
May 19, 2008, 1:21:14 AM5/19/08
to Chennai Flex User Group
i'm doing same flex with .net,
i used sharedobject to maintain session at client machine,
and its working
> check withis link too...http://groups.google.com/group/flex_india/browse_thread/thread/675e65...
>
> ~sara~
Reply all
Reply to author
Forward
0 new messages