Hi Nick,

I've ran into a similar problem before...

I'm not sure how where you're accessing the URL variables for
authentication, but if you are doing so from within your flex code,
then I would recommend always decoding your URL variables when you
pick them off.  A good little article on how to easily do so can be
found at http://deepthoughts.orsomethinglikethat.com under the entry
titled, "Flex 2: How to get URL query-string variables within Flex
application".

This doesn't solve the FlexBuilder problem you are asking about, but
it does allow you to set the "Run" address to the encoded URL, and the
"Debug" address to the decoded URL - to be encoded by FlexBuilder upon
launch.

Again, the key is to always ensure that your variables are encoded
going into the application...

Hope this helps,
Luke.

--- In [email protected], "Nick Collins" <[EMAIL PROTECTED]> wrote:
>
> Hey guys,
> 
> I have an application I'm working on adding to (I didn't write the
bugger
> originally) but am having a problem with Flex Builder 2 when I try
to debug.
> In order for the Flex clientside to authenticate and pull the data,
I have
> to add a couple variables to the URL string with the session ID that was
> created upon login on the server. This works just fine when I'm just
testing
> things but when I need to debug it's another matter. For some reason
Flex
> Builder / Eclipse encodes the URL string with unicode so while it
adds in
> the ?debug=true just fine, the custom stuff I add (
> ?icid=SessionIDgoeshere&id=emailGoesHere ) get's encoded so, for
example,
> the @ symbol in the email is %40 . This messes up the authentication
with
> the server so it can't pull the data and the app hangs. If I try to
change
> the URL string manually in the browser, then it can't connect to the
> debugger, because in loading the new page, it disconnects and stops the
> debugger in Flex Builder.
> 
> Anyone have any ideas for how I can get FlexBuilder/Eclipse to NOT
encode
> the URL string?
>





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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

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