Session and url problem

[eluser]Sara rad[/eluser]
hi everyone :x

i used session library for my login page . when user logined from in script can't detect sessions . i change base url from to and now session in dont worked Smile)

any help !?


set the cookie_domain in your config.php to '', to make the cookie valid for all sites in that domain.

[eluser]Sara rad[/eluser]
Now i can't login into site , cookies can't set .

You did include the dot in front of the domain?

[eluser]Sara rad[/eluser]
Yeah i Type : Sad

As i say in [url:]this thread[/url], i believe there are something wrong with your php environment. Can you print out your php environment?

Do this way :
1. Create a view file, and controller to display it, then write this in your view file
<?php phpinfo(); ?>

2.Access that controller, and save your php information in a file, and upload it somewhere, and post your file url here.

[eluser]Sara rad[/eluser]
hi again :x

this is my php info


[eluser]Sara rad[/eluser]
i need help !? Please , any idea ! Sad

restore CI default value to test it,it should be ok.

$config['cookie_prefix'] = '';
$config['cookie_domain'] = '';
$config['cookie_path'] = '/';

You need to create an htaccess file to map to


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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