May 19, 200917 yr Hey guys, I recently purchased my first domain and host with www.fatcow.com, hmm and I made myself a small blog for a final year project that I am working on. The thing is, that I want to be able to make posts in it obviously, but I made the the pages restricted to acess in dreamweaver, making me having to login if I input the url in the address box. Which is great, but even if I do login, it keeps showing me that page, and I don't understand why. I will gladly supply my php code in a .rar format where you can download from the server. If you could please give me some help on this. Thanks in advance guys/girls. Files
May 19, 200917 yr From the sounds of it, you may not have set up the folder on your host. Locally, the sessions get stored automatically, but on a shared host that may not be the case. Try this: 1) Create a folder in your host for sessions. 2) Then in your code, place this line (replacing path/to/your/folder with the path to your folder...). ini-set('session.save_path','path/to/your/folder');
May 19, 200917 yr Author From the sounds of it, you may not have set up the folder on your host. Locally, the sessions get stored automatically, but on a shared host that may not be the case. Try this: 1) Create a folder in your host for sessions. 2) Then in your code, place this line (replacing path/to/your/folder with the path to your folder...). ini-set('session.save_path','path/to/your/folder'); Hi sunwukung, thanks for the advice, I already created the folder but where do I put that line of code in the files? *Edit: Nevermind guys, it's working already. I had to contact my host provider and let them know that I was having a problem with the sessions and they made me a folder for sessions.
Create an account or sign in to comment