Welcome to Geeklog, Anonymous Monday, December 30 2024 @ 02:48 pm EST

Geeklog Forums

What happened to cookie_lastvisittemp?


Status: offline

LWC

Forum User
Full Member
Registered: 02/19/04
Posts: 818
I don't get it. Every Geeklog site I know of (including this one) has stopped implanting the $_CONF['cookie_lastvisittemp'] cookie recently (regardless if you've logged in or not).

I have to assume that all those sites (including mine) still use last year's 1.3.11's "lib-sessions.php", which has no if statement around the line that implants this cookie.

So what are the odds?

It's just that I've used this cookie to test for cookies and display a special message for people without cookies. Now that it's not used anymore, the message is displayed all the time!
 Quote

Status: offline

THEMike

Forum User
Moderator
Registered: 07/25/03
Posts: 141
Location:Sheffield, UK
The phrase cookie_lastvisittemp appears 0 times in the current codebase. It must have been removed. You'll have to test on something else.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
There were 2 "lastvisit" cookies that weren't really used for anything, so I removed them from CVS recently. They are still in use on geeklog.net, though ...

bye, Dirk
 Quote

Status: offline

LWC

Forum User
Full Member
Registered: 02/19/04
Posts: 818
But that's just it. I'm talking about 1.3.11 geeklogs.
Geeklog.net itself does NOT use lastvisittemp
I have 2 1.3.11 geeklogs and they don't either.
But they used to. So did geeklog.net . I just don't get it.
 Quote

Status: offline

LWC

Forum User
Full Member
Registered: 02/19/04
Posts: 818
First of all, which cookies will there be in the near future (assuming the CVS represents the near future)?

Now, seriously, how come even this site stopped using it although you claimed in this topic that you still use it?

For a quick check, load this URL while you're surfing any Geeklog site (including this one).
Text Formatted Code
javascript:alert(document.cookie)
 
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The problem must be at your end since, as I said, geeklog.net is still sending out the lastvisit cookies:
Text Formatted Code
dirk@terra:dirk> telnet www.geeklog.net 80
Trying 216.92.57.85...
Connected to www.geeklog.net.
Escape character is '^]'.
HEAD / HTTP/1.1
Host: www.geeklog.net

HTTP/1.1 200 OK
Date: Sun, 03 Jul 2005 17:55:56 GMT
Server: Apache/1.3.29
X-Powered-By: PHP/4.3.10
Set-Cookie: LastVisit=1120413362; expires=Mon, 03-Jul-06 17:56:02 GMT; path=/; domain=.geeklog.net
Set-Cookie: LastVisitTemp=deleted; expires=Sat, 03-Jul-04 17:56:01 GMT; path=/; domain=.geeklog.net
Content-Type: text/html; charset=iso-8859-1

Connection closed by foreign host.
 

bye, Dirk
 Quote

Status: offline

LWC

Forum User
Full Member
Registered: 02/19/04
Posts: 818
I see your point. I'm clueluess. I've cleared my browser's cache and my cookies. But this specific cookie is just not created, although I see the set-cookie line when I check the server's info like you did.

And it used to work. No, I haven't changed browsers or installed a cookie related software...

P.S.
So which cookies would be left in the future?
 Quote

All times are EST. The time is now 02:48 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content