Since AxKit is down and this is really a mod-perl issue, I'll ask it
here :)

I'm having problems with the browser caching to much info.  Here's my
situation:  I'm using authcookie to do authentication and my pages are
generated via axkit.  after logging in (and the cookie set), the browser
decides its already seen the pages and doesn't re-request the page
(which has login status on it).

AxKit is doing caching correctly (I've wrote an extension which handles
the login status).

If I set it to no-cache, I can't use the back button on forms.  Using
normal caching, it works ok on all the dynamic pages (CGI and
Apache::ASP which generate xml which is passed to axkit) but the static
pages don't notice the change.

The only difference between the two (request-wise) is that static pages
return a "Last-Modified" header and dynamic data doesn't.  It seems to
me that if I drop that header, everything will work :)

I've tried doing:

$r->header_out("Last-Modified"=>'');
and
$r->header_out("Last-Modified"=>undef);

but the header still comes out.

Thoughts?  Am I on the right track?

Brian

Reply via email to