[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Loosing the cart/ssl
****** message to minivend-users from Sebastian Wain <swain@helicoid.com> ******
Thank You!!!
But, this bug is very old, nobody touch it before?
Thank You Again
Sebastian Wain
On Fri, 8 Sep 2000 16:53:01 +0200 (CEST)
jojo@buchonline.net wrote:
> ****** message to minivend-users from jojo@buchonline.net ******
>
> On 8 Sep, Sebastian Wain wrote:
> > ****** message to minivend-users from Sebastian Wain <swain@helicoid.com> ******
> >
> > * Todd:
> >
> > I loose my cart in the step (3), I begin a connection with ssl in step (2) seeing the cart.
> >
> > * Joachim:
> >
> > If I use cookies, I don't loose the shopping cart (if I don't use cookies and don't use ssl I don't loose the shopping cart)
> > I am using the 4.04 version, and I tried with Interchange too with the same results.
> >
> >
> > Thank You
> > Sebastian Wain
>
> There is a little bug in bin/minivend! The variable "shost" is not
> right and has "Yes" or "No" instead of an IP-Number!
>
> Mike,
>
> did you fix that?
>
> This is my dirty quick solution!
>
> ---------------diff------------
> --- minivend.test Wed Aug 2 14:11:05 2000
> +++ minivend Wed Aug 2 14:11:05 2000
> @@ -1326,7 +1327,13 @@
> }
> my $now = time;
> if(! $from_cookie) {
> + $Vend::Session->{shost} = $CGI::secure;
> +#jojo
> if( is_retired($sessionid) ) {
> new_session();
> last RESOLVEID;
> }
> @@ -1336,22 +1343,25 @@
> if(! $compare_host) {
> new_session() unless $CGI::secure;
> $Vend::Session->{shost} = $CGI::secure;
> }
> elsif ($compare_host ne $CGI::remote_addr) {
> #jojo
> +# this delete the carts!!! new_session();
> }
> }
> if ($now - $Vend::Session->{'time'} > $Vend::Cfg->{SessionExpire}) {
> ---------------diff------------
>
> Joachim
>
> --
> Hans-Joachim Leidinger
> buch online jojo@buchonline.net
> Munscheidstr. 14 FAX: +49 209 1671449
> 45886 Gelsenkirchen FAX: 0209 1671449
>
> -
> To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list
>
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list