How to bring value on other page.
Dear All,
Below is a form,When submitted,I want to send value of "yourfile"on email.asp page. As per requirement I canot change " action=<%=request.servervariables("script_name")%> >" I have tried to use hidden but failed ,can u help me to keep bring this value on email.asp page.
Purpose.
when I press submit button file is being loaded on webserver.
then I came back on email.asp by link.
here I want to have loaeded file's name.
What the Best method,for sending one value of a form on several pages ......
Regards
<%@ Language=VBScript %>
<html>
<head>
</head>
<body>
<table cellpadding="6" cellspacing="1" border="0" width="70%" align="center">
<form method=post
enctype="multipart/form-data"
action=<%=request.servervariables("script_name")%> >
<tr bgcolor="#eeeeee">
<td align = center width = "100%"><strong>Your File:</strong><input type=file name=YourFile><input type=submit name=submit value="Upload"></td></tr>
<tr bgcolor = "#eeeeee">
<td align = Center><a href=email.asp>Back to Email page</a></td></tr>
</form>
<form method=post action = "email.asp">
<input type="hidden" name=filename value=<%Response.Write("YourFile")%>>
</form>
om prakash kumar
__________________
om prakash kumar
|