1. What's the variable
2. How are you passing it?
3. What do you want to do with it?
4. I can't drive to my destination, can you help?
TIP: trying googling the answer before posting, you'll find that more times than not someone else somewhere has had the same request and posted an answer online.
----
I have recently been semi-converted to ensuring all my code (well most of it) works in both javascript and non-javascript enabled browsers
I'm very new to ASP myself and I've found some things elegantly simple. I'm using a session variable to pass info from one page to another. I started using a cache variable, but came across situations where the cache would cross the 'boundaries' of multiple users. (one user's cached information would show in another user's session)
Basically, on my calling page:
Session["USEREMAIL"] = this.txtEmail.Text.Trim().ToUpper();
And if I want to compare or use that on subsequent pages, i just compare the Session["USEREMAIL"].ToString():
I know there's some added overhead with session variables, but like I said, I'm new to all this. I'd like to get the application working first, and then work on improving performance.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.