p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning ASP 3.0 (http://p2p.wrox.com/forumdisplay.php?f=27)
-   -   session variables and form parameters (http://p2p.wrox.com/showthread.php?t=23956)

tacky January 16th, 2005 09:36 PM

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


All times are GMT -4. The time now is 05:02 PM.

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