Re: Session Timeout

Michael Miller ( )
Wed, 07 May 1997 13:34:41 -0400

Dale E. Reed Jr. wrote:
> Michael Miller wrote:
> >
> > Sounds to me like a problem with limitations of data type 'integer'. In
> > programming an integer is 16 bits long ( 2 bytes ). In theroy a data
> > range of 0 - 65535, however the most significant bit of the integer is
> > used for determining positive or negative status of the number, thus
> > resulting in a range of -32767 through 32768. What happens is when a
> > value of 32769 or greater is assigned, the most significant bit is set
> > to "1", however doing so to a data type of integer actually makes the
> > number negative instead of positive!!! The only way around this is if
> > there is a way of using a data type of longint to achieve a greater
> > range, which requires some code change in Radius (definatelly nothing
> > within our control). Unless in one of the next releases of Radius a
> > different data type is used, we are simply limited to a bit over 9
> > hours. Even if the data type is changed in Radius, I have no clue if
> > the MAX will even accept such a data type for the value anyways.
> RADIUS users a 32-bit integer. The intger size does NOT vary between
> attributes (there are only four attribute types in RADIUS).
> --
> Dale E. Reed Jr. (

My apologies then... if Radius uses a 32 bit integer it can not be a
Radius problem at all. Someone else suggested Ascend denies any type of
problem from the MAX end, which leaves me wondering as well espically
since the symptoms are charateristic of a 16 bit integer.

-- =========================================================="These days the search for detachment ans solitudeLead to retreating to fortresses no one would dare intrudeThere are those whose restless burdens start to showAnd then there are those, who unmistakeably must know."==========================================================God Bless,  /: /:        /:       /: /:           / :/ :ICHAEL /-:NDREW / :/ :ILLER==========================================================