Log in problem in browsers
-
I have faced an unusual problem, think, related to cookie. I have integrated OSC and WP, such a way that, a page(blog.php) inside the osc folder(OSC code resides) inherits the WP, by including wp-blog-header.php, shows the blog entries. It also shows the comment box to logged in uses.
I have synchronize the two log in systems. Once I logged in from OSC I can access the WP profile also. The problem is in comment area. I have identified the function also.if(is_user_logged_in()===true) echo "logged"; else echo "not logged";
I saved this code just after the WP file inclusion at blog.php. When I am logged in, in Mozilla it echos ‘logged’ but in case of IE it says ‘not logged’.
I am not sure, but think that its a problem of cookie path. I have not defined anything on cookie path at wp-config.May be you can give me some clue.
/*
Ok I should tell you the folder structure.
OSC = > ‘/osc/’
WP = > ‘/osc/wordpress/’
*/
- The topic ‘Log in problem in browsers’ is closed to new replies.