Optimalkiller Posted February 15, 2007 Share Posted February 15, 2007 Let me make sure I'm understanding you correctly. Are you saying: a user visits the shopping cart, logs in via osC, and then visits the forums and everything is OK. But if a user visits the forums, then visits osC and logs in, they are not properly logged into the forums? This would be a bug and I'd have to dig around to see what the problem is. Or are you saying: a user logs into the forums via phpBB, and when they visit the shopping cart they are not logged into osC? If so, then this is the intended behaviour. The idea here is to make is as seamless as possible. When you allow users to choose their own username, you open up a whole floodgate of new issues and possibilities. For example, what if a user doesn't specifically want a forum account? They will be annoyed and possibly abandon their sale if they are required to choose a forum username with no way to opt out; but take away the option and most people won't care, it will just be another feature they may or may not use (or even know about). You also then have to monitor against inappropriate usernames, which is just one more step for an already busy store owner. o.k. if a user logs on to the OSc shop thats logs in fine, when they click on the link to the forums it does not automaticaly log them in. they have to log in to the forum Separately. Now upon further investigation I have noticed that when the user logs into the shop a session key is created in the PHPBB_sessions table. with an encoded IP address. now when the user clicks on the link to the PHPBB forum they have a standard index page asking them to logon. At this point another session key is created but the encoded ip address is different. which is why the passthrough login process is not working. this seems to only happen to people who have isp thats uses a proxy server and that proxy header is detected. for some reason the shop seems to record the proxy ip address and the PHPBB login process records the user IP address, which is why I assume you have to login to the forum to gain access. The intergration works fine for people who dont use a proxy server now the weird thing is that I'm with an ISP that uses a proxy server but for some reason it works o.k. for me it seems to only cause problems if the proxy ip address is deteced in the HTTP headers. a quick way of fining it is to use one of this website that detcts your ip address and proxy server. http://www.ioerror.us/ip/ I hope this make sense Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.