By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,740 Members | 790 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,740 IT Pros & Developers. It's quick & easy.

Viewing/Modifying Link status (new, visited, etc) with ASP

P: n/a
Greetings.

Using CSS, a programmer can set the color for an href link and a different
color for a VISITED href link.

Anyone know where this "list" of visited links is stored?

Is it accessible (can I read it) with ASP?

Is it updateable (can I add new links to the list) with ASP?

I have a forum that threads topics/subtopics on the first (TOPICS) page,
then displays the entire thread on the second (POSTS) page.

Each topic/subtopic ont the TOPICS page has a unique ID thus is a unique
link so when a user views the entire thread, only the link they clicked on is
colored as a visited link when they return to the TOPICS page after viewing
the thread.

I would like to update all the message links for the thread (as listed on
the POSTS page) when a viewer visits a topic so when they return to the
TOPICS page, all the links for that thread are seen as visited.

Much thanks in advance for sharing your experience.
Jul 22 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
"- jes" <je*@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
Greetings.

Using CSS, a programmer can set the color for an href link and a different
color for a VISITED href link.

Anyone know where this "list" of visited links is stored?
On the client.
Is it accessible (can I read it) with ASP?
No - ASP is server technology.
Is it updateable (can I add new links to the list) with ASP?
No, for the same reason.
I have a forum that threads topics/subtopics on the first (TOPICS) page,
then displays the entire thread on the second (POSTS) page.

Each topic/subtopic ont the TOPICS page has a unique ID thus is a unique
link so when a user views the entire thread, only the link they clicked on is colored as a visited link when they return to the TOPICS page after viewing the thread.

I would like to update all the message links for the thread (as listed on
the POSTS page) when a viewer visits a topic so when they return to the
TOPICS page, all the links for that thread are seen as visited.


You would have to maintain your own logic then on the server.
Jul 22 '05 #2

P: n/a
Gazing into my crystal ball I observed "=?Utf-8?B?LSBqZXM=?="
<je*@discussions.microsoft.com> writing in
news:1F**********************************@microsof t.com:
Greetings.

Using CSS, a programmer can set the color for an href link and a
different color for a VISITED href link.
Actually, the author can _suggest_ a color, but the user's browser has
ultimate control.

Anyone know where this "list" of visited links is stored?
In the user's history and cache. If the cache is emptied, all links turn
to unvisited.

Is it accessible (can I read it) with ASP?
You can make suggestions with ASP, but you must do it document level, an
external stylesheet will not work.

Is it updateable (can I add new links to the list) with ASP?
New links of what? You're not being clear.

I have a forum that threads topics/subtopics on the first (TOPICS)
page, then displays the entire thread on the second (POSTS) page.

Each topic/subtopic ont the TOPICS page has a unique ID thus is a
unique link so when a user views the entire thread, only the link they
clicked on is colored as a visited link when they return to the TOPICS
page after viewing the thread.

I would like to update all the message links for the thread (as listed
on the POSTS page) when a viewer visits a topic so when they return to
the TOPICS page, all the links for that thread are seen as visited.
Isn't that going to be confusing for the visitor? If there are 20
responses in this thread, how am I going to know which ones I have read if
all appear as visited?

Much thanks in advance for sharing your experience.


--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Jul 22 '05 #3

P: n/a
Hi Adrienne -

Since all the messages for a topic are listed on the POSTS page (topic,
replies), it will be assumed that all are read and I want to use ASP(?) or
some other method to set all those message links as "visited".

When the user returns later (or even refreshes the TOPICS page), any new
posts since they viewed the POSTS page should still show up as new links.

Thanks for you interest/help.

"Adrienne" wrote:
Gazing into my crystal ball I observed "=?Utf-8?B?LSBqZXM=?="
<je*@discussions.microsoft.com> writing in
news:1F**********************************@microsof t.com:
Greetings.

Using CSS, a programmer can set the color for an href link and a
different color for a VISITED href link.


Actually, the author can _suggest_ a color, but the user's browser has
ultimate control.

Anyone know where this "list" of visited links is stored?


In the user's history and cache. If the cache is emptied, all links turn
to unvisited.

Is it accessible (can I read it) with ASP?


You can make suggestions with ASP, but you must do it document level, an
external stylesheet will not work.

Is it updateable (can I add new links to the list) with ASP?


New links of what? You're not being clear.

I have a forum that threads topics/subtopics on the first (TOPICS)
page, then displays the entire thread on the second (POSTS) page.

Each topic/subtopic ont the TOPICS page has a unique ID thus is a
unique link so when a user views the entire thread, only the link they
clicked on is colored as a visited link when they return to the TOPICS
page after viewing the thread.

I would like to update all the message links for the thread (as listed
on the POSTS page) when a viewer visits a topic so when they return to
the TOPICS page, all the links for that thread are seen as visited.


Isn't that going to be confusing for the visitor? If there are 20
responses in this thread, how am I going to know which ones I have read if
all appear as visited?

Much thanks in advance for sharing your experience.


--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Jul 22 '05 #4

P: n/a
Thanks for the reply Tom -

This may be the wrong place to pursue this line of questioning, but since
the visited links list is client side, do you think JavaScript could be used
to manipulate that data?

Again, much thanks for your time.


"Tom Kaminski [MVP]" wrote:
"- jes" <je*@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
Greetings.

Using CSS, a programmer can set the color for an href link and a different
color for a VISITED href link.

Anyone know where this "list" of visited links is stored?


On the client.
Is it accessible (can I read it) with ASP?


No - ASP is server technology.
Is it updateable (can I add new links to the list) with ASP?


No, for the same reason.
I have a forum that threads topics/subtopics on the first (TOPICS) page,
then displays the entire thread on the second (POSTS) page.

Each topic/subtopic ont the TOPICS page has a unique ID thus is a unique
link so when a user views the entire thread, only the link they clicked on

is
colored as a visited link when they return to the TOPICS page after

viewing
the thread.

I would like to update all the message links for the thread (as listed on
the POSTS page) when a viewer visits a topic so when they return to the
TOPICS page, all the links for that thread are seen as visited.


You would have to maintain your own logic then on the server.

Jul 22 '05 #5

P: n/a
Gazing into my crystal ball I observed "=?Utf-8?B?LSBqZXM=?="
<je*@discussions.microsoft.com> writing in
news:89**********************************@microsof t.com:

"Adrienne" wrote:
Gazing into my crystal ball I observed "=?Utf-8?B?LSBqZXM=?="
<je*@discussions.microsoft.com> writing in
news:1F**********************************@microsof t.com:
> Greetings.
>
> Using CSS, a programmer can set the color for an href link and a
> different color for a VISITED href link.
Actually, the author can _suggest_ a color, but the user's browser has
ultimate control.
>
> Anyone know where this "list" of visited links is stored?


In the user's history and cache. If the cache is emptied, all links
turn to unvisited.
>
> Is it accessible (can I read it) with ASP?


You can make suggestions with ASP, but you must do it document level,
an external stylesheet will not work.
>
> Is it updateable (can I add new links to the list) with ASP?


New links of what? You're not being clear.
>
> I have a forum that threads topics/subtopics on the first (TOPICS)
> page, then displays the entire thread on the second (POSTS) page.
>
> Each topic/subtopic ont the TOPICS page has a unique ID thus is a
> unique link so when a user views the entire thread, only the link
> they clicked on is colored as a visited link when they return to the
> TOPICS page after viewing the thread.
>
> I would like to update all the message links for the thread (as
> listed on the POSTS page) when a viewer visits a topic so when they
> return to the TOPICS page, all the links for that thread are seen as
> visited.


Isn't that going to be confusing for the visitor? If there are 20
responses in this thread, how am I going to know which ones I have
read if all appear as visited?
>
> Much thanks in advance for sharing your experience.

Hi Adrienne -

Since all the messages for a topic are listed on the POSTS page (topic,
replies), it will be assumed that all are read and I want to use ASP(?)
or some other method to set all those message links as "visited".


As my Mother used to say, "When you assume you make an ass out of you and
me." Never assume anything.

When the user returns later (or even refreshes the TOPICS page), any
new posts since they viewed the POSTS page should still show up as new
links.
Let the visitors browser do the work. Why reinvent the wheel?

Thanks for you interest/help.


No problem. HTH

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Jul 22 '05 #6

P: n/a
"- jes" <je*@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com...
Thanks for the reply Tom -

This may be the wrong place to pursue this line of questioning, but since
the visited links list is client side, do you think JavaScript could be used to manipulate that data?


I have no idea.
Jul 22 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.