Starting a Session from simple Loginskript

Hello,

For now I am using a simple Login skript: If a coupon is empty, one is off, and hast to register. if there one is logged in. This Skript isn each site. Is it easy to get the desired coupon also from facebook oneall? Here is our current skript:
-------------
if (!empty($_GET["coupon"])) {$_SESSION["coupon"] = $_GET["coupon"];}
$coupon= $_SESSION["coupon"]; session_start();
if ($_SESSION["Login"] != "YES") { header("Location: register.php?coupon={$coupon}");}
--------------

Thanx,
Mario

Answers

Welcome!

Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

Please click on the link below to connect to the forum with your OneAll account.