Custom Session With Memcache, Anti Bots not working with Subdomain |
[eluser]Unknown[/eluser]
Hi all, I created a MY_Session library to support Memcache as session storage and kicking out bots denying them sessions. Most of the code was derived from CI_Session class. However when I tried to do a multisubdomain login, it keeps creating new sessions id's. For instance if I logged in at www.domain.com and then opening up sub.domain.com, it created a new session destroying the session I got from www.domain.com. The same thing happens vice versa. Here are my config codes: Code: $config['sess_cookie_name'] = 'urbanesiav1'; The MY_Session library is attached with this post. I wanted to show the codes but the character count does not allow me to do so. Any kind of help is appreciated, thank you beforehand. |
Welcome Guest, Not a member yet? Register Sign In |