By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,636 Members | 2,381 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,636 IT Pros & Developers. It's quick & easy.

IE 6.0 don't likes my Cookies!!

P: n/a
The Script:

<?

if( isset($_POST['usr']) )
{
setcookie("usr", $_POST['usr'], 0,'' ,'' , "0");
$_COOKIE['usr'] = $_POST['usr']; // I just use this, because i need
the Variable on the same site for a included login-function
}

?>

<html>
..
..
..

It works really fine on Mozilla, but IE can't remember the Cookie
until the next Site. The function setcookie returns 1 - I'm
helpless...
It also works if i set the security-option 1 step lower then "medium",
but I don't like it this way, because i can't tell everybody to do so
;)

Please help me!
Thanks!

Eisl Thomas
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi Thomas!

On 10 Nov 2003 07:10:34 -0800, ic**@gmx.at (Eisl Thomas) wrote:
The Script:

<?

if( isset($_POST['usr']) )
{
setcookie("usr", $_POST['usr'], 0,'' ,'' , "0");
$_COOKIE['usr'] = $_POST['usr']; // I just use this, because i need
the Variable on the same site for a included login-function
}

?>

<html>
.
.
.

It works really fine on Mozilla, but IE can't remember the Cookie
until the next Site. The function setcookie returns 1 - I'm
helpless...
It also works if i set the security-option 1 step lower then "medium",
but I don't like it this way, because i can't tell everybody to do so
;)

I think you need a P3P policy. Look it up on Google. Also a cookie
fallback with url parameters might work. This is built into PHP, if
you use sessions.

HTH, Jochen
Please help me!
Thanks!

Eisl Thomas


--
Jochen Daum - CANS Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces.
http://sourceforge.net/projects/phpdbedittk/
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.