Name

MV_SESSION_READ_RETRY — specifies the number of times to retry reading the session file

SYNOPSIS

{count}

DESCRIPTION

This variable specifies the number of times Interchange will attempt to read the user's session file before failing.

VARIABLE TYPE

Global variable

EXAMPLES

Example: Adjusting the MV_SESSION_READ_RETRY value

Add the following to interchange.cfg:

Variable MV_SESSION_READ_RETRY 3

NOTES

AVAILABILITY

MV_SESSION_READ_RETRY is available in Interchange versions:

4.6.0-5.7.0 (git-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Session.pm
Line 454 (context shows lines 444-458 in read_session():448)

# Should never get here
return undef;
}

sub read_session {
my $seed = shift;
  my($s);

#::logDebug ("read session id=$Vend::SessionID  name=$Vend::SessionName\n");
$s = $Vend::SessionDBM{$Vend::SessionName}
  or $Global::Variable->{MV_SESSION_READ_RETRY}
  and do {
    my $i = 0;
    my $tries = $Global::Variable->{MV_SESSION_READ_RETRY} + 0 || 5;
    while($i++ < $tries) {

AUTHORS

Interchange Development Group

SEE ALSO

DocBook! Interchange!