Hi,
I've got the following code :
if (empty($g_view_all_cookie_val)) {
$t_settings_string = "v1#any#any#any#";
setcookie($g_view_all_cookie, $t_settings_string/**
* DG, time()+$g_cookie_time_length
*/);
print_header_redirect($g_view_all_page . "?f=2");
}
I am running this on PHP, IIS5 on windows 2000 server. When I run the
page it goes into a loop, it seems that the $g_view_all_cookie_val var
never gets set. If I run the same pages on II6 on Windows XP it runs
ok. Can anyone help me?
Thanks. 3 1863
On Fri, 27 Aug 2004 02:35:43 -0700, Gurtch wrote: Hi,
I've got the following code :
if (empty($g_view_all_cookie_val)) { $t_settings_string = "v1#any#any#any#"; setcookie($g_view_all_cookie, $t_settings_string/** * DG, time()+$g_cookie_time_length */); print_header_redirect($g_view_all_page . "?f=2"); }
I am running this on PHP, IIS5 on windows 2000 server. When I run the page it goes into a loop, it seems that the $g_view_all_cookie_val var never gets set. If I run the same pages on II6 on Windows XP it runs ok. Can anyone help me?
Thanks.
Old.. obsolete code probably. RTFM.
Regards,
Ian
--
Ian.H
digiServ Network
London, UK http://digiserv.net/
"Gurtch" <va*************@hotmail.com> wrote in message
news:e6**************************@posting.google.c om... Hi,
I've got the following code :
if (empty($g_view_all_cookie_val)) { $t_settings_string = "v1#any#any#any#"; setcookie($g_view_all_cookie, $t_settings_string/** * DG, time()+$g_cookie_time_length */); print_header_redirect($g_view_all_page . "?f=2"); }
I am running this on PHP, IIS5 on windows 2000 server. When I run the page it goes into a loop, it seems that the $g_view_all_cookie_val var never gets set. If I run the same pages on II6 on Windows XP it runs ok. Can anyone help me?
Thanks.
I don't see where $g_view_all_cookie_val is getting set in this code...
On 27 Aug 2004 02:35:43 -0700, va*************@hotmail.com (Gurtch) wrote: I've got the following code :
if (empty($g_view_all_cookie_val)) { $t_settings_string = "v1#any#any#any#"; setcookie($g_view_all_cookie, $t_settings_string/** * DG, time()+$g_cookie_time_length */); print_header_redirect($g_view_all_page . "?f=2"); }
I am running this on PHP, IIS5 on windows 2000 server. When I run the page it goes into a loop, it seems that the $g_view_all_cookie_val var never gets set.
Are you running PHP as CGI? If so, this could be relevant: http://support.microsoft.com/default...NoWebContent=1
If I run the same pages on II6 on Windows XP it runs ok. Can anyone help me?
XP has IIS 5.1; isn't Windows 2003 the only one with IIS 6.0?
--
Andy Hassall / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Sri. |
last post by:
Hi
I am trying to figure out how to test whether my browser cookies are enabled.
I used the code from the following page...
|
by: Sri |
last post by:
Hi
I am trying to figure out how to test whether my browser cookies are enabled.
I used the code from the following page...
|
by: news.microsoft.com |
last post by:
I am having a difficult time with cookies. In my code, I need to allow a user to login to my admin site. I figure I can set a cookie, then authenticate them, and all should be well. This works,...
|
by: SHarris |
last post by:
Hello,
In our new intranet ASP.NET project, two requirements are that the browser
accept cookies AND JavaScript. We are requiring the use of Internet
Explorer 6+.
1. Using C# in an ASP.NET...
|
by: Pete Davis |
last post by:
I've never done anything with cookies. What I'm trying to do is very
straight-forward, but for some reason, it just doesn't seem to want to work.
I have a helper class with some static methods. Two...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |