[PHPLIB] allowcache problems From: Bob Strouper (bobw123 <email protected>)
Date: 11/25/99

hello,

I second the motion to have a FAQ.

Here is a few questions for the faq:

1) Why do I get a login screen on every page after
pressing my oohforms submit button, when I have
set `` var $allowcache = "public" '' in local.inc?

2) How do I get all pages to be cached?

3) Why do I get "post operation" messages when
I try to view source in Netscape and how do I
change this so I CAN view the html source?

---

But now to my question :-) To help in debugging I attempt to view the html source of a page ( cookies OFF, fallback mode GET ). So on my local Dev machine I set: var $allowcache="public"; and var $allowcache_expires=30;

But here begins the Problem. But let me go back a bit. Earlier I noticed when working with forms that the session was not being passed along with my form submission, so I had to include the session as part of the action in the form submission...so in oohforms I have: $f->start("f","POST",$sess->self_url(),"_self","myform");

Everthing worked fine. Now back to the problem :-). After I set the cache options as above, every time I submit the form I get the login screen again... any ideas as to how I can prevent this, and be able to cache the pages so I can see the source and use the back button without the dreaded "post operation" error? I tryed many different things from the archives with no luck. Oh yes, one last thing... if I set $allowcache to "private", things work as if $allowcache was "no" ( nothing is cached ).

Thanks in advance, Bob

phplib v7.2

__________________________________________________ FREE Email for ALL! Sign up at http://www.mail.com

- PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>. To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in the body, not the subject, of your message.