Date: 01/29/01
- Next message: Fernando Medina, Jr.: "[phplib] Trying use teh knowledge base app from "Web Application Development with PHP 4.0""
- Previous message: Marko Kaening: "Re[2]: [phplib] Problem with newly commited user4.inc"
- Maybe in reply to: Soc. di consulenza SIDI: "[phplib] Troubles with phplib+php4"
- Next in thread: D. Wade: "[phplib] Passwords: Clear & MD5"
- Reply: D. Wade: "[phplib] Passwords: Clear & MD5"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You have to override "allowcache" in your session class and set it to "no"
if you don't need your pages to be cached, if you do need, keep reading
Session docuementation.
class mySession extends Session {
...
} var $allowcache = "no";
...
}
"Soc. di consulenza
SIDI" Para: phplib <email protected>
<sidi <email protected> cc:
milano.it> Asunto: [phplib] Troubles with phplib+php4
09/01/01 10.49
HELP: I have been struggling with phplib without a lot of success, on the
following platform: win95+apache 1.3.14+php4.03pl1
cgi+phplib7.2b+ie5.5.+Oracle client 8.05 (this is the development machine,
all but the oracle database are on the same box)
Pbl: when opening the index.php3 test page, a session is created (one line
in the db), but when the page is refreshed (hitting the reload button) the
auto-increment var does not increment at all.
The strange thing is that the timestamp of the session in the db is
updated... I have tried both with cookies and with the get method, to no
avail. Also tried making a copy of index.php3 named index2.php3, and
changing the 'reload' link in the original page to point to it, and in that
case the variable was incremented!
I have noticed that in Apache logs the page request gets a 304 response
(page not changed) [unless I'm mistaken and this is the client request, I'm
not too strong in http], so I suspect the error somehow lies in the
'refresh' method.
Is that something to do with the headers that php4 automatically sends with
every request? Or with the Apache configuration? or With IE 5.5 really
caching pages when it's told not to?
Thanks, Gaetano
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Fernando Medina, Jr.: "[phplib] Trying use teh knowledge base app from "Web Application Development with PHP 4.0""
- Previous message: Marko Kaening: "Re[2]: [phplib] Problem with newly commited user4.inc"
- Maybe in reply to: Soc. di consulenza SIDI: "[phplib] Troubles with phplib+php4"
- Next in thread: D. Wade: "[phplib] Passwords: Clear & MD5"
- Reply: D. Wade: "[phplib] Passwords: Clear & MD5"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

