locked
URL FORMATING RRS feed

  • Question

  • User1331988254 posted

    hi  every one

    i saw once a website that the url is always  fixed

    like : exmple.com

    whatever you request of the pages, the url stays  the same  (ie example.com)

    is it possible to do it with vb.net and asp.net codes ?

    if not

    i would  like to set like  this 

    i click services from menu .. it should be like  this  (example.com/services)

    ie remove the .aspx from the url shown on the url bar

    thanks in advance  for haring valuabe information

     

     

    Monday, February 11, 2013 3:00 PM

Answers

  • User1747761241 posted

    Yes its possible.  Here are three methods I can think of.  

    1. Call a webservice and json back the data and display it..  A little vb snippet in with a webmethod tag and drop it in the app_code folder is all you need for a web service.
    2. Use jquery and inject html into the page.
    3. Use the post method.

    Everyone has seen the message form data has to be reposted message when hitting the back button.  That's post nothing is visible it all goes behind the scene but the back button doesn't work.  Facehookers use the web service method.

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, February 11, 2013 3:52 PM

All replies

  • User1747761241 posted

    Yes its possible.  Here are three methods I can think of.  

    1. Call a webservice and json back the data and display it..  A little vb snippet in with a webmethod tag and drop it in the app_code folder is all you need for a web service.
    2. Use jquery and inject html into the page.
    3. Use the post method.

    Everyone has seen the message form data has to be reposted message when hitting the back button.  That's post nothing is visible it all goes behind the scene but the back button doesn't work.  Facehookers use the web service method.

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, February 11, 2013 3:52 PM
  • User-1716253493 posted

    Search in this site called "URL REWRITING" then check answered checkbox

    Monday, February 11, 2013 7:48 PM