in reply to Re^2: Finding out Browser History Length
in thread Finding out Browser History Length

is there any other work around to find if the browser window is new or old? By old i mean to say is that other links have already been visited on it.

What does that mean? Do you mean that a page is considered old if some of the links on it have been visited or if all of them have? In both cases this seems a different problem from the one you described in other posts. You should really try to describe what you're after more explicitly and in terms of UI, with no reference to the underlying technology - e.g.: "I want a user to click on a link and upon clicking this, that and that other thing must take place." Then I'm sure that people with experience in web development could successfully help you.

  • Comment on Re^3: Finding out Browser History Length

Replies are listed 'Best First'.
Re^4: Finding out Browser History Length
by user2000 (Sexton) on Aug 19, 2007 at 06:21 UTC
    by new i meant that the window opened up does not have any history before that. if a link is opened in a new window then that window is called new. if it is opened in the same window as the current page, the window is called as old.

      Well, then the history is a client side thingie. It can be accessed through a client side language, like JavaScript. Then you can use JavaScript itself to modify the page on the fly or, if you want the job to be done on the server you can have it say post some relevant info upon which the server will serve a suitable page. Or else you may have the client communicate with the server with AJAX techniques. That's pretty much everything that's to it. But then again... I for one would find your site's behaviour to be very annoying: I often right-click-open-in-new-tab links instead of plain clicking them. Why should the page I get to be different across the two cases?