Posted by Mike Saunders on May 13, 2008 at 09:33:15:
Could someone please check this...
According to the DOCS...
Stat$ = PStat(Partition$)
SessionNum = Asc(Sub(Stat$, 61, 1))
If (SessionNum EQ 32 ) Then _ ! Old system or a very large (>= 8192 sessions!) Comet system
SessionNum = 0
SessionNum = Asc(Sub(Stat$, 60, 1)) + (SessionNum * 256)
If (SessionNum EQ 0) Then _ ! Zero is always a background session
Goto IsBackground
SessionNum = SessionNum-1 ! Session numbers are based 0
For 61, 1 I am always getting back 0, which is fine.
For 60, 1 I get back a 1, 2, 3, 4 for my foreground partitions, which is fine.
BUT for BACKGROUND partitions I am getting back 32 for all of them.
Thanks
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.