Welcome Guest, Not a member yet? Register   Sign In
Subdomain Sessions
#1

[eluser]Aaron L.[/eluser]
I have a subdomain such as http://jp.domain.com. My secure payment page is at the regular domain, however (https://domain.com). My problem is that when a user moves from the subdomain to the regular domain, it seems that their session is not recognized.

I am using the Native Session library for my session control.

My config file is set-up as follows:
Code:
|--------------------------------------------------------------------------
| Cookie Related Variables
|--------------------------------------------------------------------------
|
| 'cookie_prefix' = Set a prefix if you need to avoid collisions
| 'cookie_domain' = Set to .your-domain.com for site-wide cookies
| 'cookie_path'   =  Typically will be a forward slash
|
*/
$config['cookie_prefix'] = "";
$config['cookie_domain'] = ".domain.com";
$config['cookie_path']  = "/";

Why is my session not being read even though I have ".domain.com" in my config file? Any tips or ideas?


Messages In This Thread
Subdomain Sessions - by El Forum - 07-23-2007, 06:32 PM
Subdomain Sessions - by El Forum - 07-23-2007, 08:31 PM
Subdomain Sessions - by El Forum - 07-23-2007, 10:58 PM
Subdomain Sessions - by El Forum - 07-24-2007, 12:06 AM
Subdomain Sessions - by El Forum - 07-24-2007, 02:50 PM
Subdomain Sessions - by El Forum - 02-19-2011, 09:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB