I created web page with link. If I clicked on link then color of link was changed to color of visited link. This is expected behaviour. Then I closed web page and I opened it again. Color of previously visited link was color of visited link. I expected that color of link will be color of unvisited link but link had color of visited link.
What shall I do if I want to have link coloured by color of unvisited link after every next open of web page although link was coloured by visited link colour after click on it during previous session on web page?
that sounds like a real toughy - it's showing up as a visited link because of just that: it's been visited. As far as I'm aware, the browser checks the history to see which links have been followed and which haven't: closing the browser window will not remove the link from the history list, which is why it shows up again as visited.
The only suggestions that I can come up with are to use style sheets to set the colours for the links and visited links. (eg put A:link {color:red} ; A:active {color:red} and A:visited {color:red}. This will only make all the links the same colour, but I suspect that the effect that you want to achieve will require a considerable amount of programming for what it will do in the end. From the little that I know you may be able to do it with javascripts, but think that you might have to do it with ASP's (or Perl or something along those lines) which can then dynamically colour the links that the user follows in that visit to the site only. But then of course you'll need to have a host that lets you run dynamic pages and set up the code to flag which pages have been visited and which havent etc.
I look forward to hearing other people's comments - sorry if I wasn't too helpful.
I want to have during one session distinguished links by visited and unvisitied colors and then after next open of web page everything should look like unvisited.
Seeting with History=0 does not work for me.
well yes it would but if you read the posts you'll notice that that isnt what he's asking for at all - those have already been suggested by any number of people as alternatives, but he wants the links to become different colours when active / visited for that persons visit to the page only. When the person returns he wants the links to go back to their original colours, and only change when they're visited for that session.
Bookmarks