Hello guys.I'm trying to take a variable from a php file and print it in my game in unity.The problem is that i don't know how to do it with sessions.When the player logs in i want to take all his stats(health money attack name) and put it into sessions so i can call them wherever i want.When i simple echo something,unity can show it on my screen but if i try to echo a session unity won't do anything.Any ideas?Here is my source codes Code (CSharp): using UnityEngine; using System.Collections; using UnityEngine.UI; public class displayDataFromPhp : MonoBehaviour { public Text dis; string answer; string url = "http://localhost/CodeIgniterUnity/index.php/Users/"; public void Start() { WWW get_www = new WWW(url); StartCoroutine(WaitForRequest(get_www)); } //Our Coroutine for getting the data IEnumerator WaitForRequest(WWW www) { yield return www; // check for errors if (www.error == null) { //Assign the data that was fetched to the variable answer answer = www.text.ToString(); } else { Debug.Log("WWW Error: " + www.error); } } //GUI Components void OnGUI() { dis.text = answer; Debug.Log(answer); } } and my php code I've already set the sessions in an other file!