Jonny
Posts: 59
Joined: 22 June 2007
Location: Rochdale, England
|
Monday, Oct 22, 2007 16:46
The ability to set the cookie path from the admin area would be a nice addition
|
|
|
Caleyjag

Posts: 868
Joined: 22 June 2007
Location: Inverness, Scotland
|
Monday, Oct 22, 2007 17:39
Can you explain what use that would be?
|
|
|
Jonny
Posts: 59
Joined: 22 June 2007
Location: Rochdale, England
|
Monday, Oct 22, 2007 17:49
Well as seen in my new mod, you need to edit the cookie paths to get them to work throughout the site, not just under the /forums directory.
Having the ability to easily change the paths of the cookies can allow people to use the cookies throughout their site
|
|
|
Slashman X

Posts: 54
Joined: 22 June 2007
|
Monday, Oct 22, 2007 17:59
Jonny 
Well as seen in my new mod, you need to edit the cookie paths to get them to work throughout the site, not just under the /forums directory.
Having the ability to easily change the paths of the cookies can allow people to use the cookies throughout their site
I brought this up before, though it was done as the site wide cookie in V 1.1.1 though
|
|
|
Caleyjag

Posts: 868
Joined: 22 June 2007
Location: Inverness, Scotland
|
Monday, Oct 22, 2007 19:32
What does the path need to be to make cookies work site wide?
|
|
|
Jonny
Posts: 59
Joined: 22 June 2007
Location: Rochdale, England
|
Monday, Oct 22, 2007 19:43
With a time:RAW CODE setcookie("bb_name", $username, time()+3600, "/"");
Without a time:RAW CODE setcookie("bb_name", $username, NULL, "/"");
Logging out:RAW CODE setcookie("bb_name", "", time()-3600, "/"");
And instead of "/" you would have something like "$cookie_path" which could be set from the admin area.
Last edited by: Jonny
- Monday, Oct 22, 2007 19:44.
|
|
|
Caleyjag

Posts: 868
Joined: 22 June 2007
Location: Inverness, Scotland
|
Monday, Oct 22, 2007 19:48
But if I set it so it's site wide already, that should remove the need to set it shouldn't it?
|
|
|
Jonny
Posts: 59
Joined: 22 June 2007
Location: Rochdale, England
|
Monday, Oct 22, 2007 20:02
Suppose you could if you want
|
|
|
Jonny
Posts: 59
Joined: 22 June 2007
Location: Rochdale, England
|
Monday, Jan 14, 2008 18:05
Did this never happen then?
|
|
|
Caleyjag

Posts: 868
Joined: 22 June 2007
Location: Inverness, Scotland
|
Monday, Jan 14, 2008 18:38
No.
|
|
|