Ultimately, I was able to implement the functionality I required by
avoiding using the flashproxy.  By circumventing it, I removed the
requirement to try and remove the cookie for the session held by the
flashproxy and only needed to deal with the browser session variable.

The only outstanding issue is detecting within the flex client when
the users session times out on the server in order to place them back
in the login screen.

Any thoughts...?

--- In [email protected], "colinblackmore"
<[EMAIL PROTECTED]> wrote:
> Can anyone suggest how I might implement a 'logout' facility by
> completely invalidating a users session within Flex?
> 
> From what I can deduce, Flex initially passes the JSESSIONID through
> the flashproxy as a cookie, using it to construct the appropriate
> headers for the subsequent http call.  With a _freshly_started_
server
> and a _new_browser_session_, this works great.
> 
> However, when I call 'session.invalidate()' within a JSP page to
force
> the user to re-authenticate themselves (which works), the flashproxy
> appears to hold both the original (now invalid) JSESSIONID and a new
> one.  The upshot is that the main client session and the internal
http
> connections are out of sync;ie not sharing the same session.  This
> means that although the user is authenticated to view the flex
client,
> none of the underlying service connections are authenticated.
> 
> I've tried calling 'session.invalidate()' within an HTTPService
call,
> and setting the 'JSESSION' cookie to immediately expire, but with no
luck.
> 
> Has anyone else run into this issue?
> 
> Thanks, in advance.
> 
> ...Col
> 
> BTW, I'm using form based authentication against Tomcat 5.5.




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12h9snt1r/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125002757/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!</a>.</font>
--------------------------------------------------------------------~-> 

--
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

<*> 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