MySpace Open Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

makeRequest not supporting session/cookies

Last post 03-20-2008 12:47 AM by FlashWidgetz. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 03-08-2008 9:15 PM

    makeRequest not supporting session/cookies

    I made an app that does a make request on http://mysite.com/app/index.php?uid=FRIENDID (I got that downpat) , however, the script on my server sets a session cookie when called upon, and makeRequest relay proxy doesnt take the cookie. (because it runs through a proxy of somesort that doesnt let cookie and session sets go through) , is there a way that you guys can fix this issue or is there any way to get the makeRequest to take the cookie?

  • 03-12-2008 11:37 PM In reply to

    Re: makeRequest not supporting session/cookies

     anyhelp here?

  • 03-18-2008 6:20 AM In reply to

    • Roger
    • Top 75 Contributor
    • Joined on 03-11-2008
    • Posts 49

    Re: makeRequest not supporting session/cookies

    Hi,

    I'm using sessions on my server. The way I'm doing it (as cookies are not being proxied) is to use URL rewriting instead. In my case, the URL of my server I'm calling to looks like this: "http://www.myserver.com/;jsessionid=BBT54455AAAABNHHHY6868". All my params go into the POST querystring. On the user's end, you can store the session id into a cookie, so that u can read/update the cookie by javascript. I hope this helps you!

    Roger.

  • 03-20-2008 12:47 AM In reply to

    Re: makeRequest not supporting session/cookies

    I am running into the same issue. I am trying to think of a way around, but havent quite come up with anything 

Page 1 of 1 (4 items)