Re: share a session between two website




<alexjaquet@xxxxxxxxx> wrote in message
news:1146315587.054755.278120@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

I need to share a session between two website, I've tried access it
with

local our $session = new CGI::Session( "driver:File", $session_id,
{Directory=>"$sessiondir"} );
local our $username =$session->param("username");

from the second site but it doesn't work, any idea ?


Why would it work? You create a file on server1 and expect the file to
magically exist on server2?

Use a database to store the session that bother servers can access.

Matt


.



Relevant Pages

  • Re: migration of web service session
    ... Imagine you have a two servers. ... copy/clone/steal/borrow the session from Server1? ... implementing your own session mechanism. ...
    (microsoft.public.dotnet.framework.webservices)
  • Secure website (cookie/session)
    ... Secure a part of my website. ... access to server settings (session timeout, security,...). ... do not lose time re-submitting it because the use was redirect to the ...
    (microsoft.public.inetserver.iis.security)
  • Secure website (cookie/session)
    ... Secure a part of my website. ... access to server settings (session timeout, security,...). ... do not lose time re-submitting it because the use was redirect to the ...
    (microsoft.public.inetserver.iis.security)
  • Re: NTLM/Browser Storing Any Sessions ??
    ... I'm not sure why sounds like the session was still ... Enabled for all Internet Website. ... Authentication Prompt(it could be the server has been enabled with the ... the authentication to the Intranet Website also? ...
    (microsoft.public.inetserver.iis.ftp)
  • RE: Need ASP script to Generate Unique Session ID
    ... the duration that they are on my website that way it is more secure and less ... likely that someone could guess the URL as the session ID number would only ... "Dan Thompson" wrote: ... I am trying to write a ASP script to put into my website that will generate ...
    (microsoft.public.inetserver.asp.general)