Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Feb 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy making variables

    hello,

    i am a beginner with asp and got a little question

    At the moment i've got the following line to go to an otthe page but is it possible to make from the 3 and the 5 two sepparated variables when they click to another page so i can get them back on the next page....

    those 2 number will change if the click on an other link or comming at the same page from another direction.....


    <a href="prev_script3_bv.asp?key5" target="blank">preview</a>


    if some one know if it possible pleaz help....

  • #2
    New Coder
    Join Date
    Feb 2006
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I didn't fully understand what do you mean but maybe:
    <%
    dim Var1,Var2
    var1="value"
    var2="value"
    %>
    <a href="prev_script<%=Var1%>_bv.asp?key<%=Var2%>" target="blank">preview</a>

  • #3
    Regular Coder
    Join Date
    Aug 2002
    Location
    USA
    Posts
    478
    Thanks
    0
    Thanked 2 Times in 2 Posts
    And perhaps session variables could be used somehow.

    Session("Page1-BeenHere") = "Yes"
    J. Paul Schmidt
    www.Bullschmidt.com - Freelance Web and Database Developer
    www.Bullschmidt.com/DevTip.asp - Classic ASP Design Tips


  •  

    Posting Permissions

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