Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP 3.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old January 16th, 2005, 09:36 PM
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

Hi
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Session Variables testsubject Visual Studio 2005 8 March 8th, 2006 04:26 PM
Is it possible for me using session variables into see07 ASP.NET 1.x and 2.0 Application Design 4 March 9th, 2005 07:46 PM
Session Variables - help? Annoyamouse BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 11 August 31st, 2004 03:56 PM
session variables help face Classic ASP Databases 4 September 12th, 2003 03:57 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.