Exforsys
+ Reply to Thread
Results 1 to 6 of 6

constant URL in the address bar

This is a discussion on constant URL in the address bar within the ASP forums, part of the Programming Talk category; Hi, I am developing a wesite in ASP. I want to keep the URL in the address bar constant irrespective ...

  1. #1
    itzsug is offline Junior Member Array
    Join Date
    May 2004
    Answers
    22

    constant URL in the address bar

    Hi,

    I am developing a wesite in ASP. I want to keep the URL in the address bar constant irrespective of whatever page i access.

    for eg: www.xyz.com always

    I tried using frames. When i use frames the URL remains constant, but when i refresh the page it goes to the home page.

    Thanks
    Jagadish


  2. #2
    sanereddy Guest

    Re:constant URL in the address bar

    Jagadish, It should work with the frames, could be the call you are making is poing to some where to www.xyz.com,

    we are using at couple of places in the site, it\'s working fine for us. If you refresh, it reloads the main site www.xyz.com including your frame page.

    read this on frames:

    http://www.computerguru.net/learn/web24.htm

    I will post more information on this.

    thanks,
    sanereddy


  3. #3
    itzsug is offline Junior Member Array
    Join Date
    May 2004
    Answers
    22

    Re:constant URL in the address bar

    Hi,

    Thanks a lot for ur help. The thing is i have named the frames page as index.asp. In Index.asp i have only one frame i.e home.asp.

    Is it ok if i use the frames like this or do i have to change any thing?

    Thanks
    Jagadish


  4. #4
    sanereddy Guest

    Re:constant URL in the address bar

    Yup, I don\'t see any problem with that.


  5. #5
    cbdarts is offline Member Array
    Join Date
    Apr 2006
    Answers
    40
    No problems, but it may save on loading time if your index page is plain HTML - especially if you dont need ASP code in it.


  6. #6
    mtajim is offline Junior Member Array
    Join Date
    Apr 2006
    Answers
    22
    Rather then using Frames . its more better to use Javascript or Ajax. Its more easy and convient to display contant URL in Javascript. Just google for it. I have seen it working but i dont have the code.


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...