www.webdeveloper.com
Results 1 to 5 of 5

Thread: auto suhmission of form.

  1. #1
    Join Date
    May 2005
    Posts
    18

    auto suhmission of form.

    I am passing some variables to the back end and I nees to pass these to another template. Is there a code in HTML or ASP to auto submit a form to the other template? I so not want to pass these variahles thro'
    URL.

  2. #2
    Join Date
    Jul 2005
    Location
    USA
    Posts
    3,910
    What do yuo mean by template?

    Code:
    <form ... method="post">
    You can use JavaScript to submit a form.

  3. #3
    Join Date
    May 2005
    Posts
    18
    I am trying to pass the variables from one asp page to another asp page on the backend. So I cannot have a submit button. I need to auto submit the variabls from aspage1.asp whose code is as follows....


    <%
    if () then
    <form method="post" action="aspage2.asp>
    .....
    ....(how to auto submit these values?)
    ....
    </form>
    else
    ....
    ....
    ....
    end if
    %>

  4. #4
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    If they need a life longer than one MVC cycle then put them in the Session.
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan

  5. #5
    Join Date
    May 2005
    Posts
    18
    How to expire selected sessions in ASP?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles