View Single Post
  #1 (permalink)  
Old January 16th, 2005, 09:36 PM
tacky tacky is offline
Registered User
Join Date: Jan 2005
Location: Hastings, Hawkes Bay, New Zealand.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default session variables and form parameters

I'm new to all this.
I want to use a session variable using data from a form using post.
I can do this using get with the following code
on page 1 <% Session("user") = Request.Form("username" ) %>
and on page2 where I want the name to appear
<% Session("user") = Request.QueryString("username" ) %> and in the body of the page <%= Session("user") %>

What am I doing wrong