Request.Form in a session

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pod
    Contributor
    • Sep 2007
    • 298

    #1

    Request.Form in a session

    never mind I found the solution












    Is it possible to save the collection of KEYS and VALUES of the "Request.Fo rm" in a session variable?

    I was trying to do something like this:
    Code:
    session("myform") = Request.Form()
    ...I get no error doing the previous but it's in the retrieval that I need help

    Code:
    	
    For Each Key in session("myform")
       response.write Key &"<br>" '&"="   
    Next
    I want to be able to post the collection through several pages without having to parse it all on every pages

    Merci
    Last edited by pod; Mar 27 '08, 07:02 PM. Reason: found the solution
  • jhardman
    Recognized Expert Specialist
    • Jan 2007
    • 3405

    #2
    For anyone else looking:
    [code=asp]for each x in request.form
    session(x) = request.form(x)
    next[/CODE]Jared

    Comment

    Working...