Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. URL Redirection/Re writting/Change browser bar value

URL Redirection/Re writting/Change browser bar value

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netcomhelp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • _ Offline
    _ Offline
    _tasleem
    wrote on last edited by
    #1

    hi all, i have made asp.net application in C#. suppose my site adress is "abc.com" I have pages related to admin and user but there are no folder, there are internal page links on my site, like login link, when login link is clicked within site user is redirected to "abc.com/login.aspx" and this appear as it is on Ie browser bar, what i want is it should "abc.com/admin/login.aspx" or "abc.com" (change browser bar adress and use httpcontext.rewritepath() method), There more similar situations like this but that is simplest, i know other solution of that instead of login.aspx, link href should be "/admin/login.aspx" but i dont want this solution and use httpcontext.Rewritepath() method. what i am intrested is href should be "abc.com/login.aspx" but afer clicking on link and on post back Browser bar should display "abc.com/admin/login.aspx" or only "abc.com", i want change values from browser bar. i hope you understand this problem i am doing this asp.net C#.

    Regards. Tasleem Arif

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups