home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip: 25 Years Anniversary
/
CHIP_25Jahre_Jubilaeum.iso
/
downloads
/
401065
/
WPO11
/
WPO11.msi
/
Binary.NewBinary29
< prev
next >
Wrap
Text File
|
2003-04-15
|
865b
|
35 lines
Option Explicit
'********************************************************************
' Function checkSerialLogic
'
'********************************************************************
Function checkSerialLogic
Dim sCustInfo: sCustInfo = ""
sCustInfo = Session.Property("CustInfo")
Dim sSerialNum: sSerialNum = ""
sSerialNum = Session.Property("SERIALNUMBER")
Session.Property("PIDprefix") = Session.Property("PIDprefixP")
Session.DoAction("checkNewSerialNumber")
If ( CInt(Session.Property("PIDok")) < 1 ) Then
Session.Property("PIDprefix") = Session.Property("PIDprefixS")
Session.DoAction("checkNewSerialNumber")
Else
Session.Property("VPDX") = "1"
End If
If ( (CInt(Session.Property("PIDok")) < 1) AND (sCustInfo = "") ) Then
checkSerialLogic = 3
Else
checkSerialLogic = 1
End If
End Function