Storing JavaScript in ASP session

Discussion in 'C#' started by red_fiesta, Oct 11, 2006.

  1. #1
    I wanna store a javaScript value in a session variable

    so i wanna do something like

    <%session("test123")=%> GetE('txtTargetPage').value

    I know that is wrong, but how do i do it?

    I am using hidden for fields in other places

    The reason I want to place this one in a session is that what the code is doing is creating a form for the user and if it creates a hidden field it creates it outside the form

    so i therefore have to use a session variable.. Is this possible?

    Edit/Delete Message
     
    red_fiesta, Oct 11, 2006 IP
  2. Froggie

    Froggie Well-Known Member

    Messages:
    665
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    120
    #2

    send the value through querystring capture it in asp and then store that in the session
     
    Froggie, Oct 11, 2006 IP