levelx.me

  • Home
  • Design
    • 3D
    • Art
    • Freebies
    • Inspiration
    • Interior Design
    • Photography
    • Tutorials
    • Typography
  • Technology
    • Benchmarks
    • How To
    • News
    • Programming
    • Reviews
    • SAP BASIS
  • Lifestyle
    • Do it Yourself
    • Entertainment
    • Quotes
    • Self Improvement
    • Sports
  • Resources
    • Infographics
    • Themes
    • Tools
    • Wallpapers
  • ETC
    • places
    • Uncategorized
  • Android
    • How To
    • News
  • Apple
    • How To
    • News
  • Posts Tagged ‘OpenSocial’

    Fixing IE7 dropping PHP Sessions

    February 10th, 2009 / 25 Comments » / by Faizan

    After banging my head against the wall, and spending the better part of today trying to find out why my session variables were not being transferred from page to page in IE7, it worked fine in Firefox and Safari. The sessions not working were rendering MySpace OpenSocial App in Iframe and was dead to anyone using IE7. But the good news is i got it fixed (thanks to google), and the fix is so simple it’s ridiculous.  Before you start your session, you need to declare a privacy policy in your header.

    header('P3P: CP="CAO PSA OUR"');
    ob_start();
    session_start();

    Other things learned during MySpace development.

    • Everything works just fine in FireFox, IE7 is the only culprit :p
    • If you try to send any OpenSocial request through MySpace IFPC library in IE7 before the page is fully loaded, IE7 will give alert error saying Object Not Found. To fix this wait for page load and then make request.
    • request.AdjustHeight() will not work in IE7 if Symfony’s development (frontend controller) environment is enabled.
    • I’ve already forgot a lot of things that I learned, will try to remember them again and bookmark them.

    Posted in Programming, Technology | 25 Comments »


    Subscribe to Levelx

    Popular Posts

    • Create a jigsaw puzzle in adobe illustrator
    • Nokia 5130 XpressMusic Unboxing & Review
    • Famous Salvador Dali Paintings
    • From Sand To Silicon: How A Intel CPU Is Built
    • I Am The Stig – Facebook Application
    • Typography Tips – With Amazing Examples
    • 3D Building Exterior Render – Design Workflow
    • Silent Hill 2: Revelation – Film Photos from Production Set
    • Upcoming Blockbuster Movies 2011: Trailers and Release Dates
    • Kaghan Valley – Pakistan

    Recent Comments

    • Loading...

    Top Posts

    • FORMULA 1 - 2009 Season. (28)
    • Fixing IE7 dropping PHP Sessions (25)
    • M2N32 SLI-DLX WFI && RzR DeathADDER - - BURNT ! ! (17)
    • Windows 7 Theme - VEER II (17)
    • HTC Desire - Benchmark (17)
    • The Temples of Katas Raj (17)
    • Home Decoration and Interior Design 2011 (17)
    • From Sand To Silicon: How A Intel CPU Is Built (16)
    • HTC Desire 2.10.405.2 OTA Update (16)
    • REQ: Stalker [ 1979 ] OST. (15)

    Tags

    1TB android android 2.3 gingerbread android software apple art asus benchmark desire desktop eclair facebook Formula 1 froyo Gaming gingerbread google hacking htc HTC Desire infographic internet ios iPad iphone Islam lahore Lifestyle mobile new year Nexus one Nokia nvidia pakistan photography php psp Review s60 smart phones symbian symfony typography wallpapers web 2.0

    levelx.me is proudly powered by WordPress | Theme Designed by AF8AB