Posted on August 30th, 2010 by egiles
For the following Flex / ColdFusion fault string:
faultString = “Detected duplicate HTTP-based FlexSessions, generally due to the remote host disabling session cookies. Session cookies must be enabled to manage the client connection correctly.”
faultCode = “Server.Processing.DuplicateSessionDetected”
Make sure that session cookies are enabled on the server and that the flex2gateway URL is not rewritten or modified by [...]
Filed under: Technology | No Comments »
Posted on August 30th, 2010 by egiles
For Flex working with ColdFusion to fix an error like one of the following:
“Error #2048: Security sandbox violation”
OR
faultCode:Client.Error.MessageSend
faultString:’Send Failed’
faultDetail:’Channel.Security.Error error Error #2048: Security sandbox violation:
file:// …….. .swf cannot load data from http://localhost/flex2gateway
OR
Fault faultString=”Send failed”
faultCode=”Client.Error.MessageSend”
faultDetail=”Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500: url: ‘http://…’”
Check your crossdomain.xml file.
Filed under: Technology | 45 Comments »
Posted on August 30th, 2010 by egiles
When attempting to access a URL via the URLLoader, eg:
var loader:URLLoader = new URLLoader(“some url or uri”);
You get an error:
Flex / Flash Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: …
I modified the code referenced from:
http://www.actionscript.org/forums/showthread.php3?t=170067
To create an URLErrorHandler that will attach to a URLLoader. So, to easily attach default error handlers to the [...]
Filed under: Technology | No Comments »
Posted on August 30th, 2010 by egiles
Rewrite all non-secure URLs aside from flex gateways for ColdFusion to a secure https server. Here’s a sample Apache configuration:
<VirtualHost *:80>
RewriteEngine On
# Don’t inherit the mod_rewrite options - don’t mess up flex data.
# Allow all for the document root, but then will redirect all
# non-flex based data (flex2gateway, crossdomain.xml, etc) to
# https server which will [...]
Filed under: Technology | 21 Comments »
Posted on August 30th, 2010 by egiles
Meredith says Da-Da!
I’ve been practicing with her for awhile. She could mimic hello and then I got her to mimic Da-Da. She’s been practicing and I believe can associate the word with me!
Filed under: Family | No Comments »
Posted on August 27th, 2010 by egiles
4G Smartphone Features
HTC EVO 4G
Samsung Epic 4G
2G Network
CDMA 800 / 1900
CDMA 800 / 1900
3G Network
CDMA2000 1xEV-DO
CDMA2000 1xEV-DO
Announced
2010, March
2010, June
Status
Available. Released 2010, June
Coming soon. Exp. release 2010, August
Dimensions
4.8 x 2.6 x 0.5 inches 122 x 66 x 13 mm
4.9 x 2.54 x 0.56 inches [...]
Filed under: Technology | 31 Comments »
Posted on August 27th, 2010 by egiles
Since \n doesn’t work, you have to specify the newline code in an escaped manner.
<mx:TextArea text=”Saving.
Please wait.” textAlign=”center” />
Filed under: Technology | 31 Comments »
Posted on August 27th, 2010 by egiles
For prepared statements in PHP / mySQL check out:
http://mattbango.com/notebook/web-development/prepared-statements-in-php-and-mysqli/
Combine that with:
<?php
class MySqlDriver {
private $_Link;
public function __construct( <…> ) {
$this->_Link = mysql_connect( <…> );
}
// this will be called automatically at the end of scope
public function __destruct() {
mysql_close( $this->_Link );
}
}
$_gLink = new MySqlDriver( <…> );
// and you don’t need [...]
Filed under: Technology | No Comments »
Posted on August 27th, 2010 by egiles
Here’s the best reference I could find on vendor branching.
http://svnbook.red-bean.com/en/1.1/ch07s05.html
The main idea is if you are updating or modifying another group’s source project and you want your updates to be applied to updates from the group’s next release. This is called vendor branching. Basically, create a vendor repository and import the vendor’s code to that [...]
Filed under: Technology | 43 Comments »
Posted on August 27th, 2010 by egiles
I got this error when in Flex Builder / Eclipse and using SVN.
I had done a commit, then SVN thought it needed to commit the base directory which had no revisions. I committed it, then came back and added log comment later on. When I went to view the revision tree, SVN gave the message [...]
Filed under: Technology | 23 Comments »