Current URL in ASP

Discussion in 'Software' started by be0, Jun 19, 2008.

  1. be0

    be0 Corporal

    Hi Everyone,

    Does anyone know the command to get the current URL withing your asp webpage.
    For example you have a webpage called customers.asp but then you have paramaters to it.

    I want to be able to get the whole URL string.
    Thanks.
     
  2. Kodo

    Kodo SNATCHSQUATCH

    Check out the server variables on the server object.
     
  3. LI_Geek_95

    LI_Geek_95 Post-and-Run Geek

    For C# it would be string address = Page.Address.ToString();
    then just use address as your variable.
     
  4. Kodo

    Kodo SNATCHSQUATCH


MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds