[prev in list] [next in list] [prev in thread] [next in thread] 

List:       interchange-users
Subject:    Re: [ic] Sessions and secure pages without cookies.
From:       Jamie Neil <jamie () versado ! net>
Date:       2004-04-28 9:03:52
Message-ID: 408F7378.7070407 () versado ! net
[Download RAW message or body]

Kevin Walsh wrote:
> Try this patch to Dispatch.pm:
> 
> ======================================================================
> *** Dispatch.pm-        Tue Apr 27 17:16:49 2004
> --- Dispatch.pm Tue Apr 27 17:13:37 2004
> ***************
> *** 1222,1229 ****
>                                 # do nothing, no host checking
>                         }
>                         elsif(! $compare_host) {
> !                               new_session($seed) unless $CGI::secure;
> !                               init_session();
>                                 $Vend::Session->{shost} = $CGI::remote_addr;
>                         }
>                         elsif ($compare_host ne $CGI::remote_addr) {
> --- 1222,1231 ----
>                                 # do nothing, no host checking
>                         }
>                         elsif(! $compare_host) {
> !                               unless ($CGI::secure) {
> !                                       new_session($seed);
> !                                       init_session();
> !                               }
>                                 $Vend::Session->{shost} = $CGI::remote_addr;
>                         }
>                         elsif ($compare_host ne $CGI::remote_addr) {
> ======================================================================
> 
> Restart IC after patching and let me know if it fixes the problem.

Works like a charm - thanks Kevin.

-- 
Jamie Neil | <jamie@versado.net> | 0870 7777 454
Versado I.T. Services Ltd. | http://versado.net/ | 0845 450 1254
_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic