Using the Session Object to maintain State Create a HTML Form for Welcome.asp <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Login-Session Object</title> </head> <body> <Form method="GET" Action="Welcome.asp"> What is Your Name?<BR /> <Input Type=Text Name=Name /><BR /> <Input Type=Submit Value=" Login " /> </Form> </body> </html> The Output of Login.html Using the Session Object to maintain State <% Dim StrName StrName = Request("Name") 'Write the user's name to a session variable Session("UserName")= StrName %> <HTML> <Body> Hello !<BR> <P> What You Like Programming?</P> <UL Type=Square> <LI><a href="http://programming-c-lang.blogspot.in/">C Programming</a></LI> <LI><a href="http://programmingin-cpp.blogspot.in/">C++ Programming</a></LI> <LI><a href="http://programming-incsharp.blogspot.in/">C# Programming</a></LI> <LI><a href="http://programming-asp.blogspot.in/">ASP Programming</a></LI> <LI><a href="http://javaproglang.blogspot.in/">Java Programming</a></LI> </UL> </Body> </HTML> Output of Welcome.asp Share on Facebook Share on Twitter Share on Google Plus RELATED POSTS Getting Started with ASP | Active S...How to Use Properly ASP on Window 7...Using ADO to Connect to a Database ...