Jump to content

Facebook application problem


mforan

Recommended Posts

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?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.