Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

moving a value in a form to a session variable

Status
Not open for further replies.

tomhughes

Vendor
Joined
Aug 8, 2001
Messages
233
Location
US
Does anyone know how to move the value in a form to a session variable, and also how to update another frame in a frameset?
 
you'll have to catch the variable in a post, and then just assign it to a new session variable, so that if you had a form with a var, 'var1', and posted to some page, then on that page (the one it's posted to), you'd just say:

session("var1") = request.form("var1")

There's no way to move it directly w/o a page reload... short of remote scripting, which you can read up on, but seems really complicated to me, and so I haven't done much with it.
penny.gif
penny.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top