Re: switching between admin areas on two domeins with one login?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, March 23, 2006 2:58 pm, Warren Vail wrote:
> I think the key to your problem is finding a way that the two domains
> can
> share information, do these domains have access to the same physical
> disk
> space, or a common database?  You can use the your own save handler
> routines to give them both access to the same area (database may work
> the
> best), so that when they create, write, and retrieve session data,
> both
> websites are using the same session data.
>
> http://www.php.net/manual/en/function.session-set-save-handler.php
>
> If they are in the same "virtual" server machine, you may be able to
> do
> something with a common file area, but this could prove risky,
> security
> wise, I would suggest the common database approach.  A lot of good
> books
> have writeups on how to change these routines to store session data in
> a
> mysql database.

But to transfer the session_id from domain A to domain B, you will
have to pass it in the data...

Actually, if it's all via SSL, you'd be okay -- The session_id you are
transferring would then be safely transmitted.

But if you're not using SSL, it's probably a "no go"

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux