Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > making the value in a variable available to all the pages

Reply
Thread Tools

making the value in a variable available to all the pages

 
 
Carlos
Guest
Posts: n/a
 
      07-07-2005
Hi all,

I am new to asp .net with vb, and just need to know how to make the
value of a variable available to all the pages in the project.
That is, I capture the value of a variable using querystring in the inital
page,
and I need to use that value it in the other pages in the project.
sample code would be ideal.

Thanks in advance,

Carlos



 
Reply With Quote
 
 
 
 
Karl Seguin
Guest
Posts: n/a
 
      07-07-2005
For the same user? use the session.

For all users? use the application

http://openmymind.net/index.aspx?documentId=6

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Carlos" <> wrote in message
news:...
> Hi all,
>
> I am new to asp .net with vb, and just need to know how to make the
> value of a variable available to all the pages in the project.
> That is, I capture the value of a variable using querystring in the inital
> page,
> and I need to use that value it in the other pages in the project.
> sample code would be ideal.
>
> Thanks in advance,
>
> Carlos
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Making String variable and value available for all Classes Qu0ll Java 22 09-08-2009 01:00 AM
Making Multiple Themes Available (but not automatically applied) To All Sites on a Web Server Cramer ASP .Net 1 05-09-2008 10:26 AM
making a variable available in a function from decorator Bruno Desthuilliers Python 5 07-30-2007 04:59 PM
read all available pages on a Website Brad Tilley Python 6 09-13-2004 01:49 PM
Making variable from a variable Polerio Babao Jr.II Python 6 10-09-2003 11:11 AM



Advertisments