On Mon, 12 Oct 2009 16:51:16 Stig Manning wrote:
> You can pass the session id over URLs if you have links between the
> websites:
>
> On website-a:
>
> http://www.website-b.com/?s=<?php echo session_id() ?>
>
> Then on website-b:
> Alternatively, if your domains are like 'subdomain-a.website.com' and
> 'subdomain-b.website.com':
>
> <?php
> session_name('website');
> session_set_cookie_params(3600,'/','.website.com');
> session_start();
> ?>
Thanks Stig, though the sites are on separate domains and I want a seemless /
foolproof transition between them. Also passing SID's via URL would break my
current scheme which uses friendly URLs.
I ideally need something that can be integrated with the web server, or at
least I am thinking at present that is what would be required....
--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---