[interchange-cvs] interchange - jon modified lib/Vend/Util.pm

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Wed Feb 11 09:37:03 EST 2004


User:      jon
Date:      2004-02-11 14:37:03 GMT
Modified:  lib/Vend Util.pm
Log:
Allow setting scratch mv_no_session which prevents mv_session_id and mv_pc
from ever showing up in generated URLs, even when no cookies are present.

Internally use vendUrl-native scratch -> opt system for no_count instead of
a special case. No functionality change.

Revision  Changes    Path
2.68      +5 -3      interchange/lib/Vend/Util.pm


rev 2.68, prev_rev 2.67
Index: Util.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Util.pm,v
retrieving revision 2.67
retrieving revision 2.68
diff -u -u -r2.67 -r2.68
--- Util.pm	4 Feb 2004 14:54:09 -0000	2.67
+++ Util.pm	11 Feb 2004 14:37:02 -0000	2.68
@@ -1,6 +1,6 @@
 # Vend::Util - Interchange utility functions
 #
-# $Id: Util.pm,v 2.67 2004/02/04 14:54:09 racke Exp $
+# $Id: Util.pm,v 2.68 2004/02/11 14:37:02 jon Exp $
 # 
 # Copyright (C) 2002-2003 Interchange Development Group
 # Copyright (C) 1996-2002 Red Hat, Inc.
@@ -87,7 +87,7 @@
 use Vend::File;
 use subs qw(logError logGlobal);
 use vars qw($VERSION @EXPORT @EXPORT_OK);
-$VERSION = substr(q$Revision: 2.67 $, 10);
+$VERSION = substr(q$Revision: 2.68 $, 10);
 
 my $Eval_routine;
 my $Eval_routine_file;
@@ -1159,6 +1159,8 @@
 				add_source
 				link_relative
 				match_security
+				no_count
+				no_session
 				/;
 
 sub vendUrl {
@@ -1213,7 +1215,7 @@
 		unless $opt->{no_session_id}
 		or     ($Vend::Cookie and $::Scratch->{mv_no_session_id});
 	$ct = ++$Vend::Session->{pageCount}
-		unless $opt->{no_count} or $::Scratch->{mv_no_count};
+		unless $opt->{no_count};
 
 	if($opt->{match_security}) {
 		$opt->{secure} = $CGI::secure;








More information about the interchange-cvs mailing list