setcookie(UserName, $HTTP_POST_VARS['UserName'],
time()+(60*10), /,
$HTTP_SERVER_VARS['SERVER_NAME']);
setcookie(Password, $password, time()+(60*10), /,
$HTTP_SERVER_VARS['SERVER_NAME']);
print login - set cookie;
sorry for kinda answering my own post... but anyway...
What you describe is what SHOULD happen and does on that web site, that
does NOT happen on my web site, with the exact same code I posted in the
original message.
So, the question remains, what would cause the SID to be blank every
other click?
Yes, I have also used Netscape on Linux to
On Tuesday 05 November 2002 05:15, Steve Fatula wrote:
What you describe is what SHOULD happen and does on that web site, that
does NOT happen on my web site, with the exact same code I posted in the
original message.
Presumably the test website and your website are on different servers -- try
On Monday 04 November 2002 10:24, Steve Fatula wrote:
If you want to see a site where the small program works (and be SURE and
turn cookies off), click here:
http://www.thewebmakerscorner.com/snapmods_new/default_test.php
So, can anyone tell me why it does not work on MY site(s)? Any ideas?
Thanks for responding. It turns out this is a known bug in 4.2.2 along with
Apache 2.x.x according to the developers. The CVS snapshots seem to work,
but I have moved back to Apache 1.3.x from the 2.x.x stuff.
http://groups.google.com/groups?q=php+4.2.2+cookie+bugie=UTF-8oe=UTF-8hl=
en
So
on 19/07/02 1:19 AM, Cord Schneider ([EMAIL PROTECTED]) wrote:
A number of people have offered their opinion why cookies are a bad idea. As
a developer new to PHP, if cookies are such a big a big no-no, how does one
do effective session management without storing anything client-side?? Bear
I never heard of this php function, link(). Sound like a good function,
I'm going to have to look it up!
Thanks,
FletchSOD
Justin French [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
on 19/07/02 1:19 AM, Cord Schneider ([EMAIL PROTECTED]) wrote:
A number
on 19/07/02 4:49 AM, Scott Fletcher ([EMAIL PROTECTED]) wrote:
I never heard of this php function, link(). Sound like a good function,
I'm going to have to look it up!
Ummm, sorry, it's one that I wrote myself in my library of code -- not an
official function.
my function link() takes the
Surely it would be better to use Sessions in this case?
Danny Shepherd [EMAIL PROTECTED] wrote in message
08c501c22825$932917c0$0200a8c0@DANNYS">news:08c501c22825$932917c0$0200a8c0@DANNYS...
No, I just tested it myself - if you set a cookie with no expire date it
exists until the browser
My experience with cookies that have no expiration date has not been as
successful. It seems that (in IE6 anyway) the behavior is inconsistent.
Sometimes the cookie would last until I closed the browser, sometimes the
cookie would expire in the middle of the session for no apparent reason.
This
No, I just tested it myself - if you set a cookie with no expire date it
exists until the browser window is closed.
My code:
?php
if (!isset($_COOKIE['TestCookie']))
{
setcookie (TestCookie, FUD);
echo Just Set a cookie - reload the page;
}
else
{
echo Cookie is :
Keep it mind that EGPCS is in that order for a reason. Changing it can open
up security problems...
-JAson Garbr
At 01:16 PM 11/20/2001 -0800, Fred wrote:
If you want certain variables to over ride cookie variables you need to
change the setting of the variables_order directive in
And this is where I say kma thanks.
J
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
13 matches
Mail list logo