Status: Unresolved

    "Mark All Read" on What's New page sending to Home.

    Issue Number:
    151
    Severity:
    Minor
    Description:
    Would be better if this just refreshed the page we were on (in this case, the "What's New" page.)


    Comments:

    CleanCutRogue's picture
    CleanCutRogue
    November 17, 2007 - 9:43am
    It normally does - that's what it's supposed to do.  Which browser are you using, and what version, Full Bleed?
    3. We wear sungoggles during the day. Not because the sun affects our vision, but when you're cool like us the sun shines all the time.

    -top 11 reasons to be a Yazirian, ShadowShack


    Full Bleed's picture
    Full Bleed
    November 17, 2007 - 12:34pm
    Win XP Pro
    Firefox 2.0.0.9



    CleanCutRogue's picture
    CleanCutRogue
    November 17, 2007 - 1:39pm
    Thank you - I have only 2.0.0.7.  I'll download the update and test.  What does it do with IE for you?
    3. We wear sungoggles during the day. Not because the sun affects our vision, but when you're cool like us the sun shines all the time.

    -top 11 reasons to be a Yazirian, ShadowShack


    Full Bleed's picture
    Full Bleed
    November 17, 2007 - 1:56pm
    I've only got explorer 6 on this computer... I stopped using it years ago.

    But lets make sure we're talking about the same thing.

    When you hit "mark all read" on the What's New page for one of the project areas (for example) it just refreshes the page you're on, keeping you on the What's New page?  It does not refresh you to the home page of this site?



    CleanCutRogue's picture
    CleanCutRogue
    November 17, 2007 - 2:51pm
    Correct. It uses the server variable HTTP_REFERER to figure out what page you were on when you clicked it, runs a function I made called markProjectRead() and returns you to the same url you were already on. It works on FF2 and on IE7 on the two computers I use. I did find a tech note that some computer networks don't properly provide a HTP_REFERER signature though - so maybe that's it. The problem is I use the same server-side function to mark a project as "read" when you click the link from more than one place on the site.

    Assuming we're talking about the same thing, then I need to stop relying on the HTP_REFERER tag and code the link differently.
    3. We wear sungoggles during the day. Not because the sun affects our vision, but when you're cool like us the sun shines all the time.

    -top 11 reasons to be a Yazirian, ShadowShack


    Full Bleed's picture
    Full Bleed
    November 17, 2007 - 6:43pm
    Ah... I see why I have the problem then.  I have the referer header turned off to inhibit profiling.

    CleanCutRogue's picture
    CleanCutRogue
    November 17, 2007 - 7:58pm
    Full Bleed wrote:
    Ah... I see why I have the problem then. I have the referer header turned off to inhibit profiling.
    Hm... well that explains it.  Installing certain anti-spyware applications will automatically change those settings too.  There are other ways for me to set up my scripting, so I'll look through my code and try to eliminate where I use HTP_REFERER.  It's only wise for me to do so.  I'm learning as I go here :)
    3. We wear sungoggles during the day. Not because the sun affects our vision, but when you're cool like us the sun shines all the time.

    -top 11 reasons to be a Yazirian, ShadowShack