.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old March 18th, 2003, 12:51 AM
jlwilliams jlwilliams is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 3 jlwilliams User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Passing a variable from one page to another

What's the best way to pass a variable from one page to another? I've been using the REQUEST.QUERYSTRING method, but it seems that I can only use the variable or parameter passed within the HTML code section and I'd like to use it within my VB.NET code section. Are there more ways to do this? Thanks for your help.

Reply With Quote
  #2  
Old April 7th, 2003, 11:07 PM
PAVAK PAVAK is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 3 PAVAK User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
there a bunch of ways i just find this to be the easy'ist<br>' ill drop a little code down here<br>dim username as string<br>username = "PAVAK"<br>response.cookies("cookiename").value = username<br><br>' this is how to get it out on the other end and drop it in a text box<br><br>textbox1.text = (request.cookies("cookiename").value.tostring)<br><br>' this will span as many pages as you want.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > Passing a variable from one page to another


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT