Thread: XMLHttpRequest
View Single Post
Old 26-10-2007, 11:38   #16
Mr_love_monkey
Inactive
 
Mr_love_monkey's Avatar
 
Join Date: Jun 2003
Location: London way
Age: 49
Services: Sarcasm
Posts: 8,376
Mr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny stars
Mr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny stars
Re: XMLHttpRequest

for those of you that care...

to get around this what I have done is just have the client code add in the cookie, and add in the value as a seperate request header, i.e.:
Code:
      request.setRequestHeader("Cookie","aParam=aValue");
      request.setRequestHeader("aParam","aValue");
and then on the server side, we check for the cookie first, if it's not there we look the for request header and use that.
It's a hack, and offends me, but hey, what can you do?
Mr_love_monkey is offline   Reply With Quote