We help IT Professionals succeed at work.
Get Started

ASP Form Get Question

yo_bee asked
Last Modified: 2014-05-02
I have a very simple ASP for that I am trying to parse URL

 <form id="form1" runat="server" method="get" action=" https://commerce.wsj.com/auth/group/login?">
    <input type="hidden" name="groupSignOnId" value="XXXXXLaw"/>
    <input type="hidden" name="groupSignOnPassword" value="**********"/>
    <input type="text" name="groupUserKey"/>
    <input type="submit" value="WSJ.com"/>

Open in new window

And I have VB snippet that gets the current username.

 Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Label1.Text = Environment.UserName()
    End Sub

Open in new window

I want to pass the username to the <input type="text" name="groupUserKey"/> Value=

The final goal of this whole this is to put a Hyperlink on our Intranet to redirect the user to a webpage with the imputs parsed in the URL.

I know it is probably super simple, but I am a newbie at this.
Watch Question
Web Ninja at large
This problem has been solved!
Unlock 1 Answer and 14 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE