cookies dont work correct |
[eluser]axisdude[/eluser]
Im having a problem with the cookies from my site. Each time people need to login again... I have tried many settings but nothing will help can some1 please tell me the correct settings for the config? My site is on linux server in var/html/folder in the "html" are more sites hosted in different folders, all with CI. here is my config: Code: |-------------------------------------------------------------------------- must i change cookie path? is all correct? i tried setting sess_expiration to 0 but it dont work. still loggedout after browser close. btw in my database i can only find dlsessions table, but no sessions table. my url: www.adultpichost.eu
[eluser]nkm82[/eluser]
You must create the session table manually. Also, I recommend you to always check the User Guide first, you'll find answers to most of your questions. http://ellislab.com/codeigniter/user-gui...sions.html
[eluser]axisdude[/eluser]
ive read it. so without database there are no cookies?
[eluser]nkm82[/eluser]
[quote author="axisdude" date="1267932345"]ive read it. so without database there are no cookies?[/quote] Sort of. If you set 'sess_use_database' to TRUE and don't create the required database table, there won't be session storage.
[eluser]axisdude[/eluser]
ok so the only thing i need todo is creating a database table and then im done? ir do i need to edit some files also?
[eluser]nkm82[/eluser]
Yes. Just check that the name of the table matches with the one in the config.
[eluser]axisdude[/eluser]
heya, I loaded the table into the database and eddit the config.php But still nothing..... after i close the browser and the open it again, im logged out each time. Can some 1 give me step by step tutorial on what i need todo and change? Its very anoying to need to login all the time....
[eluser]axisdude[/eluser]
Ive read it. Im not an expert with CI... I having troubles to understand what it is exactly what i need todo. Perhaps its easyer that some1 tell me wich files are all needed for the cookies to work, then i can post them here. then you can have a look on whats wrong. Im using premade script fom xtrafile, since their support is not available im looking here for support. so.. sorry for my noob questions. thx in advantage. |
Welcome Guest, Not a member yet? Register Sign In |