I use mod rewrite to make my website's forums for search engine friendly. However on pages where the user has been sent there by mod rewrite cookies seem as though they cannot be accessed via php. Is there any way to get around this?
__________________
Theres 10 types of people; those who understand binary, and those who don't.
webmaster and webdeveloper resources, Please login or register to view this content. Registration is FREE
How are you rewriting the URL's? If you're making it seem as if it's on a different domain/subdomain etc then you might have that problem. What forum software are you running anyway?
There should be some config value where you set the path for you cookie (usually simply '/' will do). This is the path that the cookie will work under, so if you're cookie path is '/forums' and your mod_rewrite is making the URL something like '/showthread' etc, then that's why. Changing your cookie path to '/' should solve that.
__________________ Please login or register to view this content. Registration is FREE - Latest Articles: Please login or register to view this content. Registration is FREE , Please login or register to view this content. Registration is FREE
__________________
Theres 10 types of people; those who understand binary, and those who don't.
webmaster and webdeveloper resources, Please login or register to view this content. Registration is FREE