English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 1
TOPIC: session problem localhost admin/front
#8801
session problem localhost admin/front 12 Years, 4 Months ago Karma: 0
Hello,

As I'm working locally, with the new J! 17.3, I've setuped those 2 variables like this :
public $cookie_domain = '.localhost';
public $cookie_path = '.localhost';

My website is under a folder, but the "domain" still localhost (or am I wrong ?)

So, each time I'm loggued in into administrator panel, I'm also loggued in into the frontend.
If I logout from the front, I got logout from the admin...

I did not have to setup those variables whithout JMS multisite (no session problems at all with empty values), and I don't see what I should replace here...
As it's a new Xampp, I havn't setuped the server to allow multisite feature.

Thanks for your help !
dunum2
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2011/12/19 21:20 By dunum2.
The administrator has disabled public write access.
 
#8835
Re: session problem localhost admin/front 12 Years, 4 Months ago Karma: 54
In Joomla 1.7 the cookie parameter can be defined in the "global configuration".
I suppose this is what you did when you mentioned that you have setup 2 variables.
I suppose you make reference to the Joomla "configuration.php" variables.

If yes, I think that the cookie_path is wrong.
In general it remain empty or is "/" but not a live with a ".localhost" as you mentioned it.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla