Suppose I am writing a book in which some sections are especially important. I would like those sections to be identified by a * after the page number in the table of contents. How do I get it there?
I can get extra stuff into the table of contents by putting \addtocontents into my text at appropriate places. So in this case I'd presumably write something like \addtocontents{\protect\marginpar{*}} in my text in appropriate places.
But that's not right, because \marginpar tries to put its contents into the outside margin. I always want to put the * into the right margin, regardless of whether I'm on an even or odd page.
It seems like it should be extremely easy to do this, but I can't see how. Suggestions?

Also, ideally I would not want to have to decide as part of the section macro whether to use the special symbol; I'd like it to appear if and only if I invoke a particular macro at any time within the section body (which is part of why I'd like the symbol to appear at the end rather than the beginning of the table-of-contents line).
– Andrew Koenig Feb 05 '12 at 02:59