|
|
Cookie Problem with PHP?
- General Posted by Rolf (Monday February 05 2001 @ 11:07AM EST) views: 157 |
I have a problem, which is most likely related to PHP4 rather that to phpweblog.
I installed both phpweblog 0.42 and 0.5 and have the same problem:
When I try to log in as admin, there is no request from the server to the browser to accept a cookie (I have 'warn me before accepting cookie' turned on) . Of course without cookie I am not recognized as admin and get the normal news-page.
Any hint on how to check whether my php installation supports setting cookies?
The site is running on FreeBSD with Apache 1.3.14 and php4
Thanks,
-rolf
|
|
By jason (Monday February 05 2001 @ 11:09AM EST)
|
This may be a conflict in the way in which phpWebLog sends cookies and your browser. Which browser are you using?
|
[ reply | parent ]
|
By rolf (Monday February 05 2001 @ 11:47AM EST)
|
I have tried Netscape 4.73 and MSIE 5 on Win2k.
Accessing the admin pages of another phpweblog installation on another server works fine.
-rolf
|
[ reply | parent ]
|
By jason (Monday February 05 2001 @ 12:48PM EST)
|
Can any other PHP applications send cookies? I don't know of a way that cookies can be disabled globally in PHP..
phpWebLog uses the standard setcookie() function.
|
[ reply | parent ]
|
By rolf (Tuesday February 06 2001 @ 03:27AM EST)
|
I just tested that with a small dummy page and no, php does not set a cookie. So there is nothing wrong with phpweblog.
Can anybody tell me where I can set something like 'cookies = enabled' for my php installation?
Thanks,
-rolf
|
[ reply | parent ]
|
By rolf (Tuesday February 06 2001 @ 03:49AM EST)
|
Dang!
Someone activated the 'block cookies' function in our junkbuster proxy last week.
Works fine now!
Thanks for activating some neurons for me.
BTW Jason, cool software. Thank you.
-rolf
|
[ reply | parent ]
|
|
|
|