News:

Wondering if this will always be free?  See why free is better.

Main Menu

Cookie

Started by FaSan, June 29, 2004, 06:20:09 AM

Previous topic - Next topic

FaSan

Hi !

I need the life of cookie end at the close of browser.

It's possible ?

Excuse my little English !



FaSan

[Unknown]

#1
Find this in Subs-Auth.php:

setcookie($cookiename, $data, time() + $cookie_length, $cookie_url[1], $cookie_url[0], 0);

Replace it with:

setcookie($cookiename, $data, 0, $cookie_url[1], $cookie_url[0], 0);

That should do it.

-[Unknown]

FaSan

You are the best !  8)

edi67

Quote from: [Unknown] on July 02, 2004, 10:00:30 PM
Find this in Subs-Auth.php:

setcookie($cookiename, $data, time() + $cookie_length, $cookie_url[1], $cookie_url[0], 0);

Replace it with:

setcookie($cookiename, $data, 0, $cookie_url[1], $cookie_url[0], 0);

That should do it.

-[Unknown]

htere are 2 lines so i must replace all 2 them ?
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Oldiesmann

I would assume so...
Michael Eshom
Christian Metal Fans

Advertisement: