ASP & VBS - Using vbs variable in ASP code

Posted on 2013-09-12
Medium Priority
Last Modified: 2013-09-12
I'll try and make this short and sweet..

Example code:

Code Start:

name = Christopher
.... more code
<Form name="input" action="approve.asp" method="get">
.... more code
Code End

What i'm wanting to do is, somehow, make the action something like:
<Form name="input" action="approve.asp?=name" & name method="get">

The link i click on should direct me to approve.asp?name=christopher

I know the rest of the code is not there,  I just simply need to know how to use a variable (using vbs code) in this format.
Question by:Darkejo1
LVL 54

Accepted Solution

Scott Fell,  EE MVE earned 2000 total points
ID: 39487702
<Form name="input" action="approve.asp?name=<%=name%>" method="get">

Open in new window


Author Closing Comment

ID: 39487765

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
An ASP.NET Web Form User Control is not newly introduced in ASP.NET. In fact, it was an old technology yet still playing a role to generate web content, especially when we want to use it to have a better and easy way to control part of the web conte…
When you have multiple client accounts to manage, it often feels like there aren’t enough hours in the day. With too many applications to juggle, you can’t focus on your clients, much less your growing to-do list. But that doesn’t have to be the cas…
If you are looking for an automated tool which can generate reports for Outlook emails and other items from PST file, then you can go for Kernel PST Reporter tool. The reports which are created by this tool are helpful to analyze and understand PST …

587 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question