Possible to store javascript document.forms[0].value to ASP session?

Discussion in 'ASP General' started by bonnie.tangyn@gmail.com, Jun 30, 2006.

  1. Guest

    Hello all

    Would it be possible to store javascript document.forms[0].value to ASP
    session as global variable? If it is not possible, how can I pass the
    javascript document.forms[0].value to ASP/vbscript function?

    I need to pass the javascript value to ASP/vbscript function because I
    have to store the javascript value into database.

    I can't use Request.Form for getting field value. Because there is a
    submit button in the same form for calling email function in another
    ASP page.

    Thanks
    Bon
    , Jun 30, 2006
    #1
    1. Advertising

  2. Slim Guest

    Why ant you send it to a page that does not render any html but stores the
    values in the session, then use response.redirect to send it to the email
    page?

    or simply store in the session on the same page as the email function?



    <> wrote in message
    news:...
    > Hello all
    >
    > Would it be possible to store javascript document.forms[0].value to ASP
    > session as global variable? If it is not possible, how can I pass the
    > javascript document.forms[0].value to ASP/vbscript function?
    >
    > I need to pass the javascript value to ASP/vbscript function because I
    > have to store the javascript value into database.
    >
    > I can't use Request.Form for getting field value. Because there is a
    > submit button in the same form for calling email function in another
    > ASP page.
    >
    > Thanks
    > Bon
    >
    Slim, Jun 30, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?TWljaGVsbGUgU3RvbmU=?=

    store javascript value from window.open in session variable

    =?Utf-8?B?TWljaGVsbGUgU3RvbmU=?=, Feb 4, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    9,432
    =?Utf-8?B?TWljaGVsbGUgU3RvbmU=?=
    Feb 4, 2004
  2. Joey Liang via DotNetMonster.com

    Possible to store double variable to Session?

    Joey Liang via DotNetMonster.com, May 31, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    559
    Eliyahu Goldin
    May 31, 2005
  3. Eric
    Replies:
    2
    Views:
    466
  4. Zach Dennis
    Replies:
    2
    Views:
    146
    Joel VanderWerf
    Jan 8, 2004
  5. Replies:
    2
    Views:
    159
Loading...

Share This Page