Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works

Variable in link

  • Please log in to reply



    New Member

  • Member
  • Pip
  • 6 posts
Hi, got a really quick question.

I have a URL that requires the use of an environment variable, when you type it into the address bar it works fine, when you click a link from the intranet page it fails. Any idea why?

so - I type :
into the address bar the resultant address has the correct value for %username% (ie the username of whom ever is logged in)

However I've stuck the exact same link into a basic HTML page, when you click the link it fails to pickup the variable correctly, and send the user to a 'unrecognised address' page.

I imagine that I'll need to wrap the %username% in something to prevent the %U being processed incorrectly. I just don't know what.

  • 0





  • Member
  • PipPip
  • 16 posts
You need to extract the username from cookies or other session information.
  • 0

Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP