Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user danikAdmiral ! (Registered 2024-12-17) You are not logged in - nap
CSDb User Forums


Forums > CSDb Bug Reports > Login cookie BUG
2013-01-01 21:41
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
Login cookie BUG

I mentioned it before, and guys without even looking at it, just said there is nothing wrong, but yesw there is and its very annoying.

first of all im always logged in, i use the csdb.dk url
today i received a pm with a link to a forumthread, which i clicked.

on this thread i was not logged in and there were commercials.
the bug is repeatable.

could you please give the login cookie code a proper look, instead just ciming i am a liar or have a bad browser ?

i think you have some mess with 2 domain names, noname.c64.org and csdb.dk

i sugges you just kill the noname.c64.org domain, and use only csdb.dk

noname is a dead group and a dead brand, and 3. urls are hard to remember. success and good branding is easy domain name. so csdb.dk is perfect.

i just have some suspect that the cookie bug is related to csdb not really knowing from what url the user comes, and then picks the wrong, and send a cookie from the NOT used url the user entered from. something like that...

anyway the bug is real, and should be easy to fix
2013-01-01 21:42
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
(deleted)
2013-01-02 10:34
bepp

Registered: Jun 2010
Posts: 265
I always make sure I'm logged in at both url:s. Problem fixed =)

But sure, the noname domain should probably be deleted. Could keep a 301 there for a while just to be certain.
2013-01-02 13:37
metalux

Registered: Aug 2011
Posts: 17
Another reason for one single domain is Google not being too happy about duplicate content. http://support.google.com/webmasters/bin/answer.py?hl=en&answer..
2013-01-02 16:25
chatGPZ

Registered: Dec 2001
Posts: 11384
about time for robots.txt: deny all

Quote:
But sure, the noname domain should probably be deleted.

funny idea. noname.c64.org doesnt even point to csdb, it points to the noname homepage (surprise!)

simply not using it if it doesnt work for you is too easy, i guess o_O
2013-01-03 00:16
CreaMD

Registered: Dec 2001
Posts: 3057
It's best to use 301 redirects for all links (I'm sure all you need is to recreate the stuff that comes after "?") e.g. this function can be used to get the page URL:

function curPageURL() {
 $pageURL = 'http';
 if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";}
 $pageURL .= "://";
 if ($_SERVER["SERVER_PORT"] != "80") {
  $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
 } else {
  $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
 }
 return $pageURL;
}


Then replace the http://noname.c64.org by http://www.csdb.dk and do the redirect ... exit. that will learn everyone to use the new addres, still keep the old links working... instruct google bot to keep only new url in the index. If necessary, also keep only version of csdb.dk link the same way (either with www. prefix or without it)

roman
2013-01-03 05:23
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
mail out a mess to all users, that noname...* will go away and the add to use is CSDB.DK

people who rarely visit and find out they cant find csdb, will google it

its no big issu i think.

asking me or us all to log into both pages, is bollocks.
1 domain, always logged in, end of story

but we all know that csdb is 2000 tech, and should long ago been ported to a modern cms. there are some good free ones, seems that just nobody have time to work on it.

perff and me actually discussed over 5 years ago all how csdb 2.0 should be

wife kids and job prevent us, c64.com is also looking for a dedicated developer and want to move on.

if just my server hadnt died i would have shown you my beta, because i was trying out some cms and trying to decide whats best, but then.. crash

maybe some day we will get luck.. :)

as i can see from your answer, you dont care to fix the bug.
just go in, and completely ignore the noname. domain in all stuff about the site, then it should work
2013-01-03 07:56
Linus

Registered: Jun 2004
Posts: 639
Huh? If it really is such an issue Perff could just 301 it. Et voila.
2013-01-03 13:18
Perff
Administrator

Posts: 1679
A little history. :)

Way back we got noname.c64.org for our noname website instead of some of the ugly url's we used earlier (can be found in some of our old demos).

When we got the idea for CSDb we had no idea what it would become, so to make it simple we added it as a subpage of our noname-website. Hence the url noname.c64.org/csdb

When CSDb started to become popular we wanted simpler urls, and got hold of c64scene.net which never really got to work the way it should, and also got an extra c64.org subdomain as a referer (csdb.c64.org), but it was still noname.c64.org/csdb which was the "real" adress.

Some years ago I wanted to correct this, and got hold of csdb.dk, and changed what needed to be changed to make it work both on csdb.dk and the old adress.
The plan was to make csdb.dk the "real" adress and render the rest obsolete.

The noname.c64.org/csdb url is however very much spread on the net, so just to kill that one off was not a good idea, but I have got some hints how to autoforward such requests to csdb.dk, (like yours CreaMD :) ) so I'll start looking at such a solution. :)

Edit: And very easy it was! :)
If anyone experience any problems let me know.
2013-01-03 17:13
chatGPZ

Registered: Dec 2001
Posts: 11384
Quote:
perff and me actually discussed over 5 years ago all how csdb 2.0 should be
wife kids and job prevent us, c64.com is also looking for a dedicated developer and want to move on.

does that mean csdb will never get that superior search technique? :(
2013-01-04 03:49
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
im not doing anything no more, im a professional gambler now. i need money (who doesnt) to reclaim my car
 
... 3 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Sumaleth/Pearl
pcollins/Quantum
radius75
Genius/Xenon
Mike
Luca/FIRE
iAN CooG/HVSC
Guests online: 64
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.6)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Party Elk 2  (9.6)
4 Cubic Dream  (9.6)
5 Copper Booze  (9.6)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Webmasters
1 Slaygon  (9.6)
2 Perff  (9.6)
3 Sabbi  (9.5)
4 Morpheus  (9.4)
5 CreaMD  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.054 sec.