You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by Richard Curtis <ri...@crosswired.co.uk> on 2003/02/12 18:34:34 UTC

$Application->SessionCount();

I think that $Application->SessionCount might be broken.
I have a user logged in, with a session, and the following code returns 
nothing :

my $count = $Application->SessionCount();
print "num of users: $count <br>";


Have I misunderstood something here ?

Richard


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Re: $Application->SessionCount();

Posted by Josh Chamas <jo...@chamas.com>.
Richard Curtis wrote:
> 
> I did not have this activated, and now I have activated it, it works fine.
> However, a minor point, this is not mentioned in the documentation at
> http://www.apache-asp.org/objects.html#%24Applicationc6f0697d
> 

Good to hear!

I have updated the documentation which I will publish by the
next release 2.53... sorry for the confusion & thanks for pointing
out the discrepancies as the docs only get better when people
are pushing on things.

Regards,

Josh

________________________________________________________________
Josh Chamas, Founder                   phone:925-552-0128
Chamas Enterprises Inc.                http://www.chamas.com
NodeWorks Link Checking                http://www.nodeworks.com


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Re: $Application->SessionCount();

Posted by Richard Curtis <ri...@crosswired.co.uk>.
>> I think that $Application->SessionCount might be broken.
>> I have a user logged in, with a session, and the following code 
>> returns nothing :
>>
>> my $count = $Application->SessionCount();
>> print "num of users: $count <br>";
>>
>>
>> Have I misunderstood something here ?
>>
> 
> Do you have this config activated?
> 
>   http://www.apache-asp.org/config.html#SessionCount
> 
> If you do and its still not working, this is a bug & will
> need looking into.

I did not have this activated, and now I have activated it, it works fine.
However, a minor point, this is not mentioned in the documentation at
http://www.apache-asp.org/objects.html#%24Applicationc6f0697d

Richard


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Re: $Application->SessionCount();

Posted by Josh Chamas <jo...@chamas.com>.
Richard Curtis wrote:
> I think that $Application->SessionCount might be broken.
> I have a user logged in, with a session, and the following code returns 
> nothing :
> 
> my $count = $Application->SessionCount();
> print "num of users: $count <br>";
> 
> 
> Have I misunderstood something here ?
> 

Do you have this config activated?

   http://www.apache-asp.org/config.html#SessionCount

If you do and its still not working, this is a bug & will
need looking into.

Regards,

Josh

________________________________________________________________
Josh Chamas, Founder                   phone:925-552-0128
Chamas Enterprises Inc.                http://www.chamas.com
NodeWorks Link Checking                http://www.nodeworks.com


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org