bbesase
bbesase

Reputation: 861

Transferring Variables Through a webpage

I need to transfer a variable through a web page using asp.net. I know they are ways of doing this by using Session Variables but I do not want to use session variables, is there any way to do this without using session variables?

(I'm also programming in vb.net, I don't know if that matters or not)

Upvotes: 0

Views: 38

Answers (2)

the_lotus
the_lotus

Reputation: 12748

There's a lot of different ways.

You can store it in the view state
You can store it as a querystring to a url
You can store it in a <input type="hidden"

Upvotes: 1

neurocranium
neurocranium

Reputation: 75

I don't know english very well sorry about this.

You can use viewstate to store your data like session but it requires more attention because of force bandwith. And if you store you data in viewstate, you must serialize object but it don't need for values. See for MSDN

Upvotes: 1

Related Questions