• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
session problem

#1
[eluser]Unknown[/eluser]
I have a site: http://my.host.com
I have a domain: mydomain.com

My registrar set url forwarding mydomain.com -> my.host.com

I set config.php:
Code:
...
$config['base_url'] = "http://mydomain.com/";
...
so the session isn't working.

If I set config.php:
Code:
...
$config['base_url'] = "http://my.host.com/";
...
the session is working.

I think, have to set $config['cookie_prefix'], $config['cookie_domain'] and $config['cookie_path'] , but I don't how to?

ioros


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.