Shared Session
Posted: Mon Nov 30, 2009 10:25 pm
Here is my end goal: to update a session variable on one server from another.
I've got it to work by including a php file as an image and passing it the data to write to the variable. However, it would seem that firefox 3.5 on Windows 7 prevents this from happening now (it sure doesn't work on my computer now). Even if that isn't true, this surely isn't the best way to be doing this.
Now, I realize that what I'm trying to do really isn't supposed to be done. I've tried using curl, which works great, except it starts a new session for that instance when curl connects to the other website. Is there any way to pass on information indirectly to the second website without using the image hack? Any thoughts would be greatly appreciated.
I've got it to work by including a php file as an image and passing it the data to write to the variable. However, it would seem that firefox 3.5 on Windows 7 prevents this from happening now (it sure doesn't work on my computer now). Even if that isn't true, this surely isn't the best way to be doing this.
Now, I realize that what I'm trying to do really isn't supposed to be done. I've tried using curl, which works great, except it starts a new session for that instance when curl connects to the other website. Is there any way to pass on information indirectly to the second website without using the image hack? Any thoughts would be greatly appreciated.