- Home /
how can get cookie header data from web page in unity?
I have register and login page in unity3d and my website page , when I POST my register or login data from unity3d to my website(magento cms), send to my own error "necessary data rewind wasn't possible" and after see my request in HttpAnalyzer application I find out unity3d cant accept get cookie string . How can get cookie from web after login or register users ? my unity3d code :
var form = new WWWForm();
form.AddField( "SN", SystemInfo.deviceUniqueIdentifier.ToString());
form.AddField( "UserName ", UserName );
form.AddField( "year",Year );
form.AddField( "month", Month );
form.AddField( "day", Day );
form.AddField( "dob",Year+"/"+Month+"/"+Day );
form.AddField( "gender", Gender );
form.AddField( "password", Pass );
// Create a download object
var download = new WWW(URL, form);
// Wait until the download is done
yield download;
// show the Results
Debug.Log(download.text);
if(download.error != null)
{
Debug.Log("Err :"+download.error);
Flag = "1";
}
Answer by Marima · Dec 30, 2014 at 08:10 PM
It is very easy if you want to get started with magento. There are many documents talk about how to use Magento, you can search easily on google, or you can go on Magento 2.0. I think that the guide is a little bit long but it’s surely worth your time reading.
Your answer
Follow this Question
Related Questions
Post image to facebook wall 0 Answers
Cookie Header With WebPlayer Unity3d 4.3 3 Answers
Login / Register Script? 1 Answer
How to use POST service using www class? 0 Answers
How do I add login and register? 1 Answer