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"); Link to comment https://forums.phpfreaks.com/topic/189919-help-with-asp-integrations-on-php-login-script/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.