Atari ST fan
Posts: 8
64 credits Members referred : 0
« on: Apr 25, 2006, 04: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: 1525
6359 credits Members referred : 8
Gimme all your cookies!!!
« Reply #1 on: Apr 25, 2006, 05: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, 07: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: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #3 on: Apr 25, 2006, 07: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
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=2356