Also, and I hate to double post, but in my debug menu I randomly see a
JavaScript Error on Line 1, undefined SyntaxError: Parse Error.

Absolutely -zero- clue where that's coming from as it's insanely vague. Also
firebug doesn't report any syntax errors with the entire code ran through.
So I'm not sure where that's happening....

- sf

On 1/9/08, Steve Finkelstein <[EMAIL PROTECTED]> wrote:
>
> Brian,
>
> For XHR requests where I'm retrieving data from the server, I'm just
> spitting back JavaScript which gets executed upon retrieval. For data which
> gets sent to the server, I'm just using POST key/value pairs, per usual.
>
> This is such inconsistent behavior and that's what's killing me. Sometimes
> if you click on a patient, their information won't come up at all -- during
> these times I've noticed that no request is being made to the server at all.
> I made sure to add a random URI to my request URL to avoid any sort of
> caching.
>
> Other times when I submit a form, again, the request just won't be made to
> the server. I can't figure out what's causing these random scenarios where
> no request is being made at all to the server. I can't debug it on the
> iPhone side to see if any javascript is even being executed or what. On the
> server-side, I just see nothing on the access logs.
>
> Again this isn't all the time, it's random. If you visit the sites (both
> SSL and non-SSL) in a desktop browser like safari or firefox, there won't be
> any issues. The application is solid. As soon as you bring it to the iPhone,
> all the oddities begin to ensue. I wish I could figure out how to make it
> more consistent and less flaky.
>
> - sf
>
> On 1/9/08, Brian McLaughlin <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi Steve,
> >
> > Are you JSON'izing the the data being returned in the AJAX call?  Do
> > you know what's different about the actual data that's coming back?
> > One of my standard troubleshooting techniques is to simply
> > alert(results) on the client to see exactly what is being sent back to
> > the client.  Obviously what's coming back is different between the two
> > cases.  If you can see what that difference is, it may be a hint as to
> > what's going on.
> >
> > I've made a couple sites that are https, and I haven't had any
> > problems related to that.  So I'm fairly confident that the iPhone
> > Safari handles it OK.
> >
> > Brian
> >
> > On Jan 8, 5:22 pm, "Steve Finkelstein" <[EMAIL PROTECTED]> wrote:
> > > Hi folks,
> > >
> > > I'm dealing with a major pain in the butt issue with my application.
> > > Basically the best way to explain it would be to demonstrate directly
> > the
> > > exact issue. I'll provide URLs below. I have two sites with the same
> > exact
> > > code base checked out from the same repository. I've written every
> > line of
> > > HTML/CSS/JavaScript/PHP/SQL here, and with that, it's either something
> > I'm
> > > doing that's incredibly wrong or Mobile Safari is not handling SSL
> > > properly.  Everytime I make any sort of Ajax call on the SSL version
> > of my
> > > site, I have an 'edit' form when you click on a user, that fills in
> > their
> > > information with a response from the server. On the non-SSL version
> > this
> > > works pretty much 99% of the time. However on the same exact site with
> > SSL
> > > enabled, it fails to fill out the form properly at an incredible rate
> > of
> > > like 60% from what I've seen. I have no idea why it flakes out with
> > SSL
> > > enabled and I'm not sure how to even troubleshoot it further at this
> > point
> > > as I don't have access to utilities such as tcpdump on my iPhone, etc.
> > >
> > > Would anyone care to perhaps take a look and see if they've ever seen
> > > something similar? Perhaps recommend something I can change it around
> > to
> > > make my interface more responsive/less error-prone?  The URLs with
> > logins
> > > are provided below. Keep in mind, this application is not live, and
> > none of
> > > the information you see is real. It's also dummies. To replicate the
> > issues,
> > > merely click on any 'fake patient' when you login.
> > >
> > > Non-SSL:http://iphone.limemedical.com
> > > SSL:         https://iphone-ssl.limemedical.com
> > >
> > > user: iphone
> > > pass: iphone
> > >
> > > Thank you kindly for any feedback, especially if you've experienced
> > this
> > > before and can point me in the right direction to making my
> > application more
> > > solid.
> > >
> > > - sf
> > > >
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to