darkstyle
07-26-2004, 02:22 PM
there we go again... well everything is responding correctly, when i click the login button... it verify the username and password from my access data base through login.asp file and it gives me response on my flash that its correct.
Response.Write "message=" & Server.URLEncode(oRS("username"))& "&var2=" & Server.URLEncode(oRS("password"))
now my probelm is :
if the password and username is right i want my flash file to go and play a specific frame.. how do i do it?? please help.
asp code is here..
<%@Language="VBScript"%>
<%
Dim oRS, oConn
set oRs=server.createobject("ADODB.recordset")
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.open="dsn=DSNvazbo;persist security info=false;"
oRS.Open "SELECT * FROM logininfo", oConn, 2, 3
oRS.Find "username = '" & UCase(Request.QueryString("name"))& "'"
oRS.Find "password = '" & UCase(Request.QueryString("password")) & "'"
If oRS.EOF Then
Response.Write "message=Not+Found" & "&var2=Not+found"
Else
Response.Write "message=" & Server.URLEncode(oRS("username"))& "&var2=" & Server.URLEncode(oRS("password"))
End If
oRS.Close
Set oRS = Nothing
oConn.Close
Set oConn = Nothing
%>
i have attached the flash file. please help.
Response.Write "message=" & Server.URLEncode(oRS("username"))& "&var2=" & Server.URLEncode(oRS("password"))
now my probelm is :
if the password and username is right i want my flash file to go and play a specific frame.. how do i do it?? please help.
asp code is here..
<%@Language="VBScript"%>
<%
Dim oRS, oConn
set oRs=server.createobject("ADODB.recordset")
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.open="dsn=DSNvazbo;persist security info=false;"
oRS.Open "SELECT * FROM logininfo", oConn, 2, 3
oRS.Find "username = '" & UCase(Request.QueryString("name"))& "'"
oRS.Find "password = '" & UCase(Request.QueryString("password")) & "'"
If oRS.EOF Then
Response.Write "message=Not+Found" & "&var2=Not+found"
Else
Response.Write "message=" & Server.URLEncode(oRS("username"))& "&var2=" & Server.URLEncode(oRS("password"))
End If
oRS.Close
Set oRS = Nothing
oConn.Close
Set oConn = Nothing
%>
i have attached the flash file. please help.