Variable scope

V

Vincent V

What type of variable can you use that lasts between page refreshes is it
possible or do i have to use session or a hidden field

thanks
 
G

George Zacharias

You can also try Viewstate["yourkey"] = "value" if you have viewstate
enabled.

George Zacharias.
 
S

Steve C. Orr, MCSD

Normally you'd use Session state, or Viewstate, or the Application object,
or the Cache object, or Cookies. A hidden field could also work. They all
have their trade offs.
 
D

David Waz...

Vincent,

it's called "buy a basic book on asp/aspx"
or read the included on-line documentation. Some questions are just so
basic that IMHO they don't belong here.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,266
Messages
2,571,075
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top