| |
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 |
|
| |
SIDWAVE Account closed
Registered: Apr 2002 Posts: 2238 |
(deleted) |
| |
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. |
| |
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.. |
| |
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 |
| |
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 |
| |
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 |
| |
Linus
Registered: Jun 2004 Posts: 639 |
Huh? If it really is such an issue Perff could just 301 it. Et voila. |
| |
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. |
| |
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? :( |
| |
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 |