[ic] Sessions and secure pages without cookies.
Jamie Neil
jamie at versado.net
Wed Apr 28 05:03:52 EDT 2004
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 at versado.net> | 0870 7777 454
Versado I.T. Services Ltd. | http://versado.net/ | 0845 450 1254
More information about the interchange-users
mailing list