reterive html url

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kumar senthil
    New Member
    • Sep 2007
    • 4

    #1

    reterive html url

    iam using asp.net(1.1)app licaton.
    1)my web page design is html page(my company site desgin)
    2)And my coding part is asp.net(vbcodin g)application.
    3)first my html page(my company site desgin) will run
    4)In that html desgin. with the help of IFRAME i call my asp.net(vbcodin g)application
    5)when my htmldesgin(my company desgin)runs asp.net(vbcodin g)will load automatically
    6)there we can see my asp.net page desgin in html page
    And my question is
    If any user comes and open the IE browser and type www.mycompanyna me./their collegename
    1)first my htmldesgin(my company site) will open correspondingly their college details also
    HERE IS THE QUESTION I WANT TO GET THE FULL URL WHAT THE BROWSER TYPE IN THE ADDRESS BAR.
    IN ASP.NET(VBCODIN G) PAGE LOAD


    please review my question and reply me in my mail id palanisenthilmc a2006@yahoo.co. in
  • giveDsolution
    New Member
    • May 2007
    • 107

    #2
    Try this code
    string current_url=Htt pContext.Curren t.Request.Url.L ocalP ath.ToString();
    Response.Write( current_url);

    let me know whether it works or not

    Comment

    Working...