Re: [web2py] Re: How to ask how many active sessions?

2012-08-26 Thread weheh
The ones I want to measure are anonymous.

On Thursday, August 23, 2012 5:06:16 PM UTC+8, Khalil KHAMLICHI wrote:
>
> are your users logged-in or anonymous ?
>
> On Thu, Aug 23, 2012 at 5:48 AM, weheh 
> > wrote:
>
>> Let me add a little more to this. Clearly, one could keep track in a db a 
>> list of all the sessions spawned by the system. However, (and I apologize 
>> for not having looked deeply into the code for this) it seems like web2py 
>> would already know this info. So wondering if there's a way to get at it 
>> without having to do a lot of work. 
>>
>> -- 
>>  
>>  
>>  
>>
>
>

-- 





Re: [web2py] Internal ip to external access

2012-08-26 Thread Johann Spies
On 23 August 2012 16:50, Gerald Klein  wrote:

> Hi all, I was wondering if anyone could direct me to a resource that will
> outline the techniques used to grant external access to an internal ip,
> along the lines of NetMeeting. I have tried to google and not getting a lot
> of traction on the subject, if someone knows a resource that would be
> great. The app is not a meeting app but to programmatically allow external
> access to internal ip cameras on a users internal network.
>

Did you consider using ssh tunneling?

A Google search for 'ssh tunnel'  will take you to lots of howto's.


Regards
Johann


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)

-- 





[web2py] Re: Column width

2012-08-26 Thread Annet
Hi Richard,

Wouldn't it be easier to use Bootstrap's grid system for this? Something 
like:


  

  


  


  

  



Regards,

Annet

-- 





Re: [web2py] Re: how to use javascript code in web2py html pages?

2012-08-26 Thread Amit
Thanks Anthony to finding the issue, after modifying the code as per your
suggestion,its working fine now.

Regards,
Amit

On Fri, Aug 24, 2012 at 5:01 PM, Anthony  wrote:

> Also, a tip -- if you think web2py is causing a problem with your code,
> try the code in a page not served by web2py (e.g., just a static HTML
> page), and see if it works.
>
> Anthony
>
>
> On Friday, August 24, 2012 7:29:16 AM UTC-4, Anthony wrote:
>>
>> Yes, web2py supports Javascript functions (you can do whatever you want
>> on the client side). In a couple places, your code has the wrong kind of
>> quotes -- instead of " you have ”. In particular:
>>
>> onSubmit=”return textFieldValidation();”
>>
>> should be:
>>
>> onSubmit="return textFieldValidation();"
>>
>> and
>>
>> 
>>
>> should be:
>>
>>