358 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Jobs | Twitter | Bookmarks | Pods | Forum | Blogs | Search | myPL | About 
 
Latest 7 Posts
ILUG countdown widget
Sun, Aug 22nd 2010 43
Help required with Duffy The Opera (An Idea waiting for a very drunken party)
Wed, Aug 11th 2010 36
Single authenticated point of entry to iNotes for all your users
Tue, Aug 10th 2010 133
Offical Minutes of the ILUG oganising committee - 9th Aug 2010
Mon, Aug 9th 2010 53
Duffy the Banana Slayer - Chapter 3 "Is this your Ewok?"
Mon, Aug 9th 2010 34
Duffy the Banana Slayer - Chapter 2 "The Journey Home"
Thu, Aug 5th 2010 53
Duffy the Banana Slayer - Chapter 1
Thu, Aug 5th 2010 52
Top 10
Thank you Yellow Brothers and Sisters :-)
Thu, Mar 25th 2010 215
NotesMan Saves the day AGAIN!
Wed, Jul 14th 2010 186
ILUG 10 Preperations gathers pace ... poster ideas
Wed, Feb 24th 2010 143
Creative profanity (very NSFW)
Fri, Feb 20th 2009 137
My first impressions after a a week of HTC Desire ownership
Sun, Apr 18th 2010 135
Single authenticated point of entry to iNotes for all your users
Tue, Aug 10th 2010 133
The Incredibly Strange Software Which May Have Stopped Living and Become a Zombie that wants to suck your brains out of your nose with a straw and do unspeakable things to your registry
Thu, Apr 22nd 2010 128
Bit of a problem with Firefox, Safari and FLEX uploads to a Domino Server
Sun, Nov 8th 2009 127
My mother helps stop MSDS (Memory Stick Disappearnce Syndrome)
Mon, Mar 8th 2010 122
I mourn the passing of Pithy Blog Comments :(
Fri, Apr 23rd 2010 117


Bit of a problem with Firefox, Safari and FLEX uploads to a Domino Server
   

After much head scratching over an issue I had with uploads FLEX and Firefox, namely authenticated uploads work in IE but do not in Firefox i have discovered the cause. As described by Jake Howlett over on his excellent CodeStore site FLEX uses a class called the FileReference to get and then upload the file or files the user selects.

The problem comes in that for some reason Firefox does not sent the DomAuthSessId cookie over in the header.. for example here is a header receieved from FLEX from an authenticated session using the FLEX HTTPRequest object.

*** New Request -- Parse and Check Request: Session 7, Thread 1ba4, Clock 1602816
GET /econtent/AC_OETags.js HTTP/1.1
Host: www.atuin.com:81
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.15) Gecko/2009101601 Firefox/3.0.15 (.NET CLR 3.5.30729)
Accept: */*
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.atuin.com:81/econtent/econtent.html
Cookie: DomAuthSessId=47F0EA4947495C8C4C6E9FAF6665CD73
If-Modified-Since: Thu, 05 Nov 2009 00:07:20 GMT

and here is the next header received by the server from FLEX again running on Firefox in the same session using the FileReference.upload() method

*** New Request -- Parse and Check Request: Session 8, Thread 7c4, Clock 1617184
POST /econtent.nsf/Gallery?createDocument HTTP/1.1
Accept: text/*
Content-Type: multipart/form-data; boundary=----------GI3ae0Ij5gL6ei4KM7GI3ae0Ef1ei4
User-Agent: Shockwave Flash
Host: www.atuin.com:81
Content-Length: 8644
Connection: Keep-Alive
Cache-Control: no-cache
As you can see no DomAuthSessId.. and what happens well the Domino Server does what it is meant to do, it sends back the Logon screen to the Flex program. In case you are wondering this data was obtained from my server using the following Server Console commands prior to test running the FLEX
tell http debug thread on | off (default level)
tell http debug postdata on | off (for client POST data)
tell http debug responsedata on | off (for server response data)
Now this is a major FUBAR and it is odd to be complaining about FF and not IE but there you go. It seems FF starts an entirely new browser instance to do the FileReference.upload() hence the no DomAuthSessId being passed.

However all is not lost you think, the FileReference takes a URLRequest object and it has the ability to be coded to load the Header with values should you need them. Well yes it does and you can set any number of values in the URLRequest object BUT and it is a bigh BUT Flex ignores them, so there is no way out that way!.

Nothing I have tried to date allows me to use the pre-authentication of the browser instance my flex is running in to send a file to the server via the FileReference object. FECK! and yet it works perfectly in IE8 (a fact which is particularly galling) it is FireFox (and from my testing Safari) that are the problems on this occasion and it holds true for Flex 3 and Flex 4 and from my browsing of the Adobe site not likely to be acknowledged as a problem let alone fixed any time soon.

So far the only work around I can come up with is to spawn out to a standard browser child window upload the file there using a Domino File Upload control and then use an external JS function to talk to the parent flex program when the file sucessfully uploads.. which is a bloody pain in the arse!

The whole situation is not helped by the Domino server not liking a standard POST method of getting data from the client to the server..

Anyway there you go .. back to the head scratching

---------------------
http://feedproxy.google.com/~r/dominoyesmaybe/~3/V741JdG1ccQ/bit-of-problem-with-firefox-safari-and.html
Nov 08, 2009
133 hits



Recent Blog Posts
43


ILUG countdown widget
Sun, Aug 22nd 2010 1:30p   Steve McDonagh
If you would like an ILUG 2010 Widget like the one on the left just copy this code into a convienent HTML/JS widget enclosurer on your blogbr / br / pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"codelt;script language='javascript' src='http://slightlydoolally.com/ilugcd.js'gt;lt;/scriptgt;lt;div id='ilug'gt;lt;/divgt;lt;scr [read] Keywords: ilug blogger javascript widget
36


Help required with Duffy The Opera (An Idea waiting for a very drunken party)
Wed, Aug 11th 2010 8:27a   Steve McDonagh
It has been suggested by Mike Smith that we make the "Duffy" epic into an opera.. and tentative work has begun.. picture the scene.. duffy in a cubicle with the lights subdued and a general air of saddness fills the stage.. Duffy takes a deep breath and start to sing....the Duffy Aria ....br / br / blockquoteIm being swallowed by a sharepoint migrationbr / I'm being swallowed by a sharepoint migrationbr / I'm being swallowed by a sharepoint migrationbr / And I don't like it very muchbr / br / Oh [read] Keywords: blogger sharepoint workspace
133


Single authenticated point of entry to iNotes for all your users
Tue, Aug 10th 2010 10:27a   Steve McDonagh
It has been a while since I did a Domino Geek posting, however I came across this today and thought I would share it. Basically you can if you know the URL get into your Lotus Notes eMail via a browser. The problem is that most users can be .. well .. forgetful and having to remember a big long string of characters is a bit of a pain that and we wanted a single URL that would (a) authenticate the user and (b) open the mail file so we came up with this solution.br / br / A single NSF with a short [read] Keywords: agent domino inotes lotus notes ajax blogger email password server
53


Offical Minutes of the ILUG oganising committee - 9th Aug 2010
Mon, Aug 9th 2010 7:31p   Steve McDonagh
i**** Names, locations and proclivities have been redacted to protect the guilty ****/ibr / br / ILUG 2010 is now so certain to go ahead that Celine Dion is penning the lyrics to the theme song and even as I write the organisers are throbing with preternatural wibbliness for tonite was one of the famed ILUG 2010 skype calls.br / br / div style="font-family: Arial,Helvetica,sans-serif;"span style="font-size: small;"Date : 09 August 2010/span/divdiv style="font-family: Arial,Helvetica,sans-serif;" [read] Keywords: administration ilug mashup quickr xpages blogger development mobile skype tivoli
34


Duffy the Banana Slayer - Chapter 3 "Is this your Ewok?"
Mon, Aug 9th 2010 3:30p   Steve McDonagh
iWhere we are introduced to a Pseudo French Inspector, Mistress Marybeth of the "Never used Vista Virgins" and the difference between Dastard and Bastardbr / br / /ibr / He looked around the room surrounded by the detritus of a party. Half eaten pizzas beer bottles by the dozen, an unturned bottle of diet Coke in a ice bucket, a dart board with a picture of Bill Gates on.. the picture was more hole that picture. He stooped and picked up a crumpled flyer "Sharepointless Summer Party" .. yes they [read] Keywords: connections sametime blogger development javascript vista
53


Duffy the Banana Slayer - Chapter 2 "The Journey Home"
Thu, Aug 5th 2010 8:31p   Steve McDonagh
iIn which we do not meet Nigel the out of work sarbannes oxley auditor and bus shelter attendant, Duffy has a Beatlemania flash back, Bill Buchans Knees make an appearence and we meet Gladys from the Sharepoint Coven/ibr / ibr / /ibr / The group had been partying in the tea shops of south central Portaland. Tonight was the re-opening of the hottest geek club in town. The owner had completely remodelled the club in yellow and renamed it "Banana Daiquiri". No one actually knew who it was that now [read] Keywords: admin domino applications blogger sharepoint sql wifi
52


Duffy the Banana Slayer - Chapter 1
Thu, Aug 5th 2010 5:29p   Steve McDonagh
iWhere Duffy and his sidekick Privet are introduced to the reader and Matt White gets Dissed/ibr / br / "Are you sure this is a good idea Privet?" Duffy asked, peering at the screenbr / br / Privet laughed at the concern in his friend's voice. "It'll be fine, Duffy. It's a very simple xPages App. I won't mess it up."br / br / "I don't know," Duffy said, unconvinced. "I'm just not sure you should be using fancy coding tricks to spice up your life." He thought for a moment, then chuckled. "I'm sti [read] Keywords: ilug lotus quickr xpages application blogger css openntf
56


Irish Notes Geek in Israel - Jerusalem for a week any notes folk fancy a pint?
Sun, Jul 18th 2010 7:30p   Steve McDonagh
I will be finding myself in Jerusalem, Israel from the 25th-29th July and I seem to remember that there is an active Notes/Domino community in Israel. So if anyone wants to accompany a very pink (people tell me Israel is warm this time of year) Irish Notes Geek for a pint and a bit of a geek chat on one of evenings while I am there, drop me a line at mcdonaghs (at) utvinternet (d0t) com and lets collaborate socially :-)div class="blogger-post-footer"img width='1' height='1' src='https://blogger. [read] Keywords: domino notes blogger community




186


NotesMan Saves the day AGAIN!
Wed, Jul 14th 2010 7:25a   Steve McDonagh
It is nice to give a product a "call out" once in a while and today is one of those days.br / br / I had an app today where a unintentional download FUBARed exchange rates over a large number of records. Now I could have written an agent and fixed it that way however in my essential notes tool box I have a copy of a href="http://www.martinscott.com/Site.nsf/ID/Noteman"NotesMannbsp; /aand I was able to go into the app, created a collection of docs that needed changed , did the change, a quick "Co [read] Keywords: agent notes blogger exchange exchange
87


Nerd Vs Geek a Taxonomy
Sun, Jun 6th 2010 7:57p   Steve McDonagh
Twas only last weekend when thwe Arch Bishopess of ITIL a href="http://www.eileenfitzy.com/"Ms Eileen Fitzgerald/a and her chums Clara and Máireád plodded 22 miles around the north coast of Northern Ireland. Many and various were the topics we covered in those miles. One of said topics was the great Geek Vs Nerd debate. Both Clara and Máireád mistakening thought that Eileen and I were nerds ... OH how we laughed at that one. br / br / Eileen deffered to my age, experience and abilty to gesti [read] Keywords: blogger facebook office twitter




Created and Maintained by Yancy Lent - About - Blog Submission - Suggestions - Change Log - Blog Widget - Advertising - FAQ - Mobile Edition