
February 25th, 2008, 03:27 PM
|
|
Contributing User
|
|
Join Date: Nov 2005
Posts: 91
Time spent in forums: 1 Day 1 h 27 m 20 sec
Reputation Power: 3
|
|
|
Web programming error ?
im not quite sure where the error is in my coding, anyone mind looking over n see if they can find it cause i can't
Code:
<%@ LANGUAGE="VBSCRIPT" %>
<%
Response.Cookies("firstname")= Request.form("fname")
Response.Cookies("firstname").Expires = Now + 2
Response.Cookies("lastname")= Request.form("lname")
Response.Cookies("lastname").Expires = Now + 2
Response.Cookies("e_mail")= Request.form("email1")
Response.Cookies("e_mail").Expires = Now + 2
Response.Cookies("subj") = Request.form("subject")
Response.Cookies("subj").Expires = Now +2
Response.Cookies("mesg") = Request.form("msg")
Response.Cookies("mesg").Expires = Now +2
%>
<HTML>
<HEAD>
<TITLE>Verify Message</TITLE>
</HEAD>
<BODY BGCOLOR="#FFD700">
<p align="center">
<table border ="3" bordercolor="black">
<tr><td colspan="2"><div align="center">Is this information correct ?</div></td></tr>
<tr><td>NAME:</td> <td> <%=Request.form("fname")%>, <%=Request.form("lname")%> </td> </tr>
<tr><td>EMAIL: </td><td> <%=Request.form("email1")%></td></tr>
<tr><td>SUBJECT: </td> <td> <%=Request.form("subject")%> </td></tr>
<tr><td>YOUR MESSAGE: </td> <td> <%=Request.form("msg")%> </td></tr>
<tr> <td colspan="2"><form action="submit.asp"><p align="center"><input type="submit" value="Send" action ="submit.asp"><input type="button" value="Redo" onClick="javascript:history.back()"></p></form></td></tr>
</table>
</p>
</BODY>
</HTML>
|