Steve,

The link you mentioned below is taking to "working with session data" , but
I couldn't find any info about How to set values into sessions. What I am
expecting is something like this..

flashgateway.Gateway.getHttpResponse().getSession().setAttribute("attr1","va
lue1");

If you don't mind can you give some code example for the explanation you
said in your earlier mail...

---> basically, you just declare a public var on your application for
--->anything you intend passing in as a request param, and then these
--->request params are assigned to your public vars.


Thanks!
Hari

-----Original Message-----
From: Steven Webster [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 6:19 AM
To: [email protected]
Subject: RE: [flexcoders] How to get access to HttpSession in a stateful-c
lass


Dan,

> This may be a stupid question, but if your flex app is 
> wrapped in in a jsp file (using something like <mm:mxml 
> source="..."/>) can you access variables in request scope?  
> Or can you pass selected variables into a flex app?

There's also a section in the docs "Passing Request Data to Flex
Applications":

http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/js/html/w
whelp.htm?href=00002247.htm

basically, you just declare a public var on your application for
anything you intend passing in as a request param, and then these
request params are assigned to your public vars.

Hope that helps,

Steven

--
Steven Webster
Technical Director
iteration::two
 
This e-mail and any associated attachments transmitted with it may contain
confidential information and must not be copied, or disclosed, or used by
anyone other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, and any copies of it, immediately.
 
Please also note that while software systems have been used to try to ensure
that this e-mail has been swept for viruses, iteration::two do not accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out
before any attachments are opened.

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.2 - Release Date: 05/04/2005
 



 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to