Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#356 Support for HTTP cookies

v1.2.0.117
closed
Dare Obasanjo
5
2012-09-23
2005-01-25
John Lonergan
No

In our case, once the user has logged in using HTTP
Basic Auth over SSL we wish to do session tracking and
personalisations by issuing a cookie at the reader.

However I do not believe RSS Bandit currently handles
cookies.

Please consider enhancing RSS bandit to support cookies

Discussion

  • Logged In: YES
    user_id=714452

    Do you have some Feed-Urls requiring cookies to test against?

     
  • John Lonergan
    John Lonergan
    2005-01-26

    Logged In: YES
    user_id=845238

    Thanks for the prompt response.

    Nope I'm sorry my test case is on an intranet.

    I can pass you a trivial Apache mod_perl module though if
    that would help ? This module returns a different RSS item
    each time you hit it ; but crucially it does this only if
    cookies are working ok.

    See attached ....

     
  • John Lonergan
    John Lonergan
    2005-01-26

    mod_perl for generating a different item on each poll - BUT only is cookies are working

     
    Attachments
  • John Lonergan
    John Lonergan
    2005-01-26

    Logged In: YES
    user_id=845238

    Assuming you have mod_perl installed you will also need
    something like this in the Apache config (may be slightly
    different in your runtime environment) ....

    LoadModule perl_module libexec/libperl.so

    PerlModule cookieRSSTest
    <Location cookieRSSTest.xml="">
    SetHandler perl-script
    PerlHandler cookieRSSTest
    </Location>

     
  • Logged In: YES
    user_id=714452

    Would it help to provide the IE permanent cookies for the
    site, or they are attached to the feed file request and have
    to be maintained there (store and forward on next request)?

    Or could you not just use the "if-modified-since" header or
    etag to deliver new item(s) on each poll?

     
  • John Lonergan
    John Lonergan
    2005-01-26

    Logged In: YES
    user_id=845238

    I'm only returning a new item per request in order to
    provide a test case for evaluating which readers provide
    cookie support on the feed file requests.

    In the real system the cookies are used for session tracking
    of the feed file requests and I do not envisage they will
    change much during a given session.

    So what we need is for the feed file request channel to
    observe the same HTTP cookie handling protocols as would a
    regular browser.

    Does that help to clarify ?

    (By the way I love the product, in particular the reall
    straight forward ability to process the items however I
    like using an xslt. I have used this to add support for
    <textinput> to RSS Bandit. A feature request in this respect
    would be to allow a different xsl per feed or group of feeds
    rather than for the whole app).

     
  • Logged In: YES
    user_id=714452

    We now store/forward cookies on http requests

     
  • John Lonergan
    John Lonergan
    2005-01-28

    Logged In: YES
    user_id=845238

    Nice one.

    Hi how do I get a copy of the latest cut with this.

    Thx JL