2

Possible Duplicate:
Chrome on iOS shows weird url for jQuery Mobile page (ASP.NET MVC)

I have been using MVC for years, and just last night I started playing with jQuery mobile. I developed a nice little mobile version of my application, and I can't figure out why this garbage is being prepended to my query string in all URLs beyond the logon page.

It looks like this:

http://hostname.com/application_name/(F(iPF1BcLSVortwvEsPbnDww4OLya-IL_-pZtm4zHaqOdzX8XJXVMs-PT_8oaW66SMq2NI2W9p7seVyD1xlYD-Bpj9sVUbFSmENn5vQz-kQagyIJyJCeaE5a3z_RXbtC4GPuntcFkK6ggf6MkzvTFVjb2isOc1))/area_name/controller_name/action_name/id

At the recommendation of someone on another post, I added this to my main mobile js library, but it didn't have any effect:

$(document).bind('mobileinit', function() {
    $.mobile.ajaxEnabled = false;
});

It does NOT happen if I browse the site on a desktop browser, nor does it happen when I select "Request Desktop Site" on Chrome for iOS.

Anyone run into this before?

2
  • 1
    I guess may be the cookie got disabled in the device and hence the session id getting appended in the querystring Commented Sep 29, 2012 at 13:05
  • @Mark Good thought, to see if this was the case I printed HttpContext.Current.Session.SessionID to the top of my main view, and I can confirm the garbage in the query string does NOT contain the SessionID Commented Sep 30, 2012 at 3:40

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.