refiking Posted January 26, 2010 Share Posted January 26, 2010 Here is the asp page redirect page: <% If Session("mydb-member-username") = "" OR Session("mydb-member-ID") = "" Then Response.Redirect("redirect.asp?error=notloggedin") End If %> How do I set the session variables on logmein.php to be usable by asp to recognize the values? Here is the relevant information on logmein.php. Keep in mind I have already ensured that $_SESSION['mydb-member-ID'] contains the correct value. $row = mysql_fetch_assoc($query); $_SESSION["mydb-member-ID"] = $row["users_id"]; //echo $_SESSION['mydb-member-ID']; exit; header("Location: default.asp"); Quote Link to comment 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.