The script below works in allowing a user access to the WAP page following a user entering their username and password. The list of users is stored in a database. Once the user is granted access, a welcome message appears, welcoming the user.

My question is however, at which point in the script below would i add another card which took the user pass the welcome screen following user acceptance? Please post an example if possible.

Many thanks

<%Response.ContentType = "text/vnd.wap.wml" %><?xml version="1.0"?>

<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="menu" title="Menu">
<p>
<%
dim dbConn, sql, empl

set dbConn = Server.CreateObject("ADODB.Connection&quot
dbConn.open("dsn=company&quot

sql = "SELECT * FROM tblEmpl WHERE username='"&Request.Form("username&quot&"' AND password='"&Request.Form("password&quot&"'"

set empl = dbConn.Execute(sql)

if empl.EOF then
Response.Write "You have entered an invalid login."
else
Response.Write "Welcome, " & empl("fname&quot
end if

empl.Close
dbConn.Close
set empl = Nothing
set dbConn = Nothing

%>
</p>
</card>