<%@ Language=VBScript %>
<%
Option Explicit
Response.Expires = 0
On Error Resume Next
Dim strbtnlblsend
strbtnlblsend = "Abschicken"
If Request.Form("btnsubmit") = strbtnlblsend Then
session("sessnachname") = Request.Form("frmfldnachname")
session("sessvorname") = Request.Form("frmfldvorname")
Response.Redirect("050session2.asp")
End If
%>
<!--#include virtual="asppages/silvi/_include/preheader.inc" -->
<html>
<head>
<title>ASP Statusverwaltung: Sessionvariablen schreiben
</title>
<!--#include virtual="asppages/silvi/_include/header.inc" -->
</head>
<body>
<form action="050session1.asp" method="post" id="frmname" name="frmname">
Name:
<input type="Text" name="frmfldnachname"> Vorname:
<input type="text" name="frmfldvorname">
<input type="submit" value="<%=strbtnlblsend%>" id="btnsubmit" name="btnsubmit">
</form>
<!--#include virtual="asppages/silvi/_include/inchtmlnachspann.asp" -->
</body>
</html>
Demo: beispiele/050session1.asp
Letzter Update:
26.12.2021 16:48
Zurück zur
Liste mit ASP-Beispielen auf
www.ecotronics.ch