ASP Session Variable

J

Jeff Goebel

I've got a seesion variable which I want to display on a page. How do I do

This is the variable <%-name %> where "name" is the variable name.

It's THAT easy.
 
R

Ray

thanks, but if I want to display it in a text box, for instance, how would I
define its properties?
 
J

Jeff Goebel

thanks, but if I want to display it in a text box, for instance, how would I
define its properties?

The cool thing about ASP is that it can go anywhere... so if you want
it in a textbox, just place the code where you would normally do it.

<textarea>
<%=variable%>
</textarea>

or <input type=text value=<%=variable%>>
 

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

Top