mforan Posted December 2, 2010 Share Posted December 2, 2010 My game on facebook is being displayed in the facebook application iframe. When users register in firefox or google chrome everything is fine and to a certain extent in IE as well. However, when logging into the game, through the browsers the game loads fine except when loaded in IE.... Basically i am using a session to state that the game is currently in facebook mode: <?php session_start(); $_SESSION['isface'] = 1; include("game.php"); ?> All is good until it hits this code: <html> <frameset cols="130" noresize border=0> <frame src="nav.php" name="nav"> <frame src="hq.php" name="main"> </frameset> </html> The frames then output error message: <?php if ($isface !="1") { if (sha1($info[4]) != $pass) { mysql_close(); echo $isface; die("<br><br><center><body bgcolor='#000000'><b><font color='#FFFFFF' face='Verdana' size='2pt'>{$isface} Your username cannot be found or password doesnt match</font></b></center></body></html>"); } } ?> essentially the game is using cookies for authentication on the main site, but since this is facebook this is not needed so it SHOULD skip this check and proceed with using the facebook details as the login. this is only happening in IE... i dont get it. any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/220514-facebook-application-problem/ Share on other sites More sharing options...
mforan Posted December 2, 2010 Author Share Posted December 2, 2010 the frame code is actually: <frameset cols="130,*" noresize border=0> <frame src="nav.php" name="nav"> <frame src="hq.php" name="main"> </frameset> my bad Quote Link to comment https://forums.phpfreaks.com/topic/220514-facebook-application-problem/#findComment-1142409 Share on other sites More sharing options...
mforan Posted December 3, 2010 Author Share Posted December 3, 2010 *bumbp* no one have any ideas :/ Quote Link to comment https://forums.phpfreaks.com/topic/220514-facebook-application-problem/#findComment-1142442 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.