RegisterRegister    Log inLog in    SearchSearch   

Post new topic   Reply to topic
 
View previous topic :: View next topic  
Author Message
oVi



PostPosted: Thu Jan 08, 2009 4:26 am    Post subject: Gamecreate login bug in Iframe !? Reply with quote

I have build an adminpanel and i would integrate the GameCreate via IFrame.
It works very well, but i can't login a user... (external authentication is
activated)

on wrong login it throws: "Incorrect username or password"
on correct login it throws nothing and a clean login form is shown...
and after a successful login, there are no gamecreate cookie created.

the same is on IE or FF


But over the normal adress is working correctly.

Did have anyone an idea ?
Back to top
View user's profile Send private message
adbot



PostPosted: Thu Mar 31, 2011 3:57 am 

Andrew
Mammoth


PostPosted: Thu Jan 08, 2009 8:38 am    Post subject: Reply with quote

It sounds like cookies are being blocked by your I-Frame.

There are restrictions with cookies and I-Frames across different top level domains, which is probably the reason you are not able to login.

For example, you cannot have an I-Frame on mywebsite.com that embeds yourdomain.eu.gamecreate.com in an I-Frame and expect the cookies to work, because of restrictions on cookies with I-Frames on different domains to the parent frame (mywebsite.com).

There is an easy fix for this however you can try.

You want to put your admin panel on say gamecreate.mywebsite.com (or whatever), which should allow your cookies to work across the I-Frame.

In order to create gamecreate.mywebsite.com, you need to add a CNAME record via your DNS panel for gamecreate.mywebsite.com to point to yourdomain.eu.gamecreate.com (or this domains IP Address if it wont accept a DNS entry).

Then access your 'Domain Configuration' option and enter 'gamecreate.mywebsite.com' as the 'Domain Alias'.

You should then be able to access http://gamecreate.mywebsite.com/admin/ in your web browser and view your domain directly.

Once that is working, you should then update your I-Frame to use gamecreate.mywebsite.com instead of mydomain.eu.gamecreate.com, and your login attempts should now succeed.

See http://doc.gamecreate.com/AdminEditDomainPage for more information.
Back to top
View user's profile Send private message
oVi



PostPosted: Thu Jan 08, 2009 10:39 am    Post subject: Reply with quote

hey very cool... its working perfectly thx !
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum powered by phpBB © 2001, 2005 phpBB Group
GameCreate Service Terms | Privacy Policy | © Copyright Mammoth Media 2001-2007
GameCreate™ is a trademark of Mammoth Media Pty Ltd. GameCreate® is a registered trademark in Australia.