[FX.php List] Session1, Meet Session 2?

Jonathan Schwartz jschwartz at exit445.com
Wed Mar 12 10:53:39 MDT 2008


Thanks Chris,

I kind of thought that this was the case.

Jonathan

At 9:48 AM -0600 3/12/08, Chris Hansen wrote:
>Jonathan,
>
>That's working as designed (doubly so if you're using cookies to 
>handle your sessions.)  Think about it from an ISP perspective: they 
>may have multiple sites on a single server, and they certainly don't 
>want sessions being shared between sites (nor would their 
>customers.)  
>You COULD write a custom session handler (or use someone else's -- 
>they're out there) to query your own database and thus handle things 
>exactly as you desire, but if both bits are eventually going on the 
>same server, this may just not be worth it.  Best,
>
>--Chris
>
>On Mar 12, 2008, at 4:34 AM, Jonathan Schwartz wrote:
>
>>Hi Folks,
>>
>>I have two different web sites for the same client, each with 
>>slightly different functionality.  Now, they need to be  stitched 
>>together so that users can log in to one and access the other.
>>
>>The two web sites have different domains.
>>They exist on the same OS X Apache Web server.
>>Both use the same FMP DB.
>>
>>It seems that a session created in one web site is not recognized 
>>when I link to the other. I had wanted the second system to 
>>recognize that a valid session had been started and to use the 
>>session info. Instead, the second web site is generating a new 
>>sessionid upon arrival and treating the arrival like an 
>>unauthorized new user.
>>
>>I *can* cross over using a URL with a unique id in the URL and pick 
>>it up in the second website with a GET. And eventually, I will move 
>>the code over to the first site.
>>
>>But for now, should I even expect the two web site sessions to be 
>>"one", or this working as designed?
>>
>>Thx
>>
>>Jonathan
>>--
>>Jonathan Schwartz
>>Exit 445 Group
>>jonathan at exit445.com
>>http://www.exit445.com
>>415-381-1852
>>_______________________________________________
>>FX.php_List mailing list
>>FX.php_List at mail.iviking.org
>>http://www.iviking.org/mailman/listinfo/fx.php_list
>>
>
>_______________________________________________
>FX.php_List mailing list
>FX.php_List at mail.iviking.org
>http://www.iviking.org/mailman/listinfo/fx.php_list


-- 
Jonathan Schwartz
Exit 445 Group
jonathan at exit445.com
http://www.exit445.com
415-381-1852


More information about the FX.php_List mailing list