[help]problem with ci sessions |
[eluser]cesarius[/eluser]
Hello! Ive got a problem here: I want to have acsess to the site wich is located at a computer in internal network/ the name of it is netcomp on an internet site (www.xxx.ru) it all works fine but with this name i can not store session it says tha loggedin is rfalse however it must be true/// maybe you could help me how to configure config.php? here is mine: Code: <?php if (!defined('BASEPATH')) exit('No direct script access allowed');
[eluser]Michael Wales[/eluser]
Code: $config['cookie_domain'] = "kontsevoisb"; This will only work if people visit the intraweb site via: http://kontsevoisb/ - is this how people access it? Basically, you want that line to read exactly what people enter to get to your home page (minus the http:// and the trailing slash). If you want it to be a cookie across the entire domain, so your subdomains can access it as well, omit the subdomain and begin with a period (example, omit www and make it .domain.com).
[eluser]cesarius[/eluser]
http://kontsevoisb - this is how people access it...
[eluser]Michael Wales[/eluser]
Code: $config['base_url'] = "http://netcomp/"; Somethings not right...
[eluser]cesarius[/eluser]
[quote author="walesmd" date="1192163709"] Code: $config['base_url'] = "http://kontsevoisb/"; Somethings not right...[/quote] wanted just to change computername here.... but the problem still exists(((( |
Welcome Guest, Not a member yet? Register Sign In |