Atari ST fan
Posts: 8
64 credits Members referred : 0
« on: Apr 25, 2006, 05:56:56 AM »
I was going through the v1.88 code as I modify my current v1.82 installation for update. This was something that I had to change from the start, but was just reminded about it again.
Just curious as to why your cookie statement in the db_config won't work for me. define("COOKIE_PATH", APPLICATION_PATH);
What does work is define("COOKIE_PATH", "");
Thanks... Dan
Global Moderator
Internet Junkie
Gender:
Posts: 1523
6847 credits Members referred : 8
Gimme all your cookies!!!
« Reply #1 on: Apr 25, 2006, 06:18:29 AM »
Well you could set the define APPLICATION_PATH to be "" too
Atari ST fan
Posts: 8
64 credits Members referred : 0
« Reply #2 on: Apr 25, 2006, 08:13:20 AM »
Sorry, dumb question. That's right I moved the login page to the root. I was having trouble getting things running with the Class_Path so I just bypassed it.
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6441
39470 credits Members referred : 374
It's time to use PHP5!
« Reply #3 on: Apr 25, 2006, 08:21:53 AM »
Because you are using the application path in other cases it's better to set this var like before;
define("COOKIE_PATH", ""); or define("COOKIE_PATH", "/");
remember the cookie is used only to remember the last login, all other function are session based