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

Re: [ic] Sessions and secure pages without cookies.


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 | <suppressed> | 0870 7777 454
Versado I.T. Services Ltd. | http://versado.net/ | 0845 450 1254
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.