Martin Baehr <[EMAIL PROTECTED]> writes:
> i am trying to monitor slashdot with my login.
> this requires a cookie to be sent.
The use of cookies will always cause a problem for a proxy like
WWWOFFLE. This is like the way that it causes a problem for all
proxies by making the page uncacheable and increasing bandwidth.
> i realize that there may not be an easy solution, since
> multiple users may potentially read the cache and they
> should not get my slashdot version, but their own.
>
> so wwwoffle would have to make a distinction between those,
> on a per user basis somehow.
>
> so maybe when a request is done with cookies
> wwwoffle could try to request both versions
> (one with, and one without cookie)
> it would probably necessary to make this configurable too.
> all in all, sounds like work to make this possible ;-)
>
> i am currently trying to see if specifing my userid and password
> in the url itself helps as a workaround (slashdot seems to allow that)
When a username and password is specified in the URL it modifies the
URL in a predictable way. There is also a well defined way that the
requests are made. A request for a page that has a password is always
denied if there is no password provided. This means that WWWOFFLE can
try fetching the page with and without the password.
With cookies the same thing is not true. A page without a cookie
specified may look almost exactly the same as the page when a cookie
is specified. In this case if WWWOFFLE requests the page without the
cookie it will get a valid page. There are also further complications
because more than one cookie can be specified for a page and the value
of the cookie may be modified each time that the page is requested.
Using your userid and password in the URL should work if slashdot does
allow it. This will make sure that the personalised version of the
page is requested and that multiple users each get their own
personalised page. With cookies this is just not practical.
--
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop [EMAIL PROTECTED]
http://www.gedanken.demon.co.uk/
WWWOFFLE users page:
http://www.gedanken.demon.co.uk/wwwoffle/version-2.7/user.html