Jump to content

Help With ASP Integrations on PHP Login Script


refiking

Recommended Posts

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");

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.