Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Nov. 21, 2005 15:43:22

P.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Finding numbers of visitors


Hello,
Is there a way how to find out ( via Django) all visitors at my
website at one time( both signed and guests)?
Would it be possible by using request.session?
Or is there a better way?
Regards,
L.

Offline

#2 Nov. 21, 2005 16:23:10

Adrian H.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Finding numbers of visitors


On 11/21/05, PythonistL <> wrote:
> Is there a way how to find out ( via Django) all visitors at my
> website at one time( both signed and guests)?
> Would it be possible by using request.session?

Yeah, this is certainly possible. Use the session framework:http://www.djangoproject.com/documentation/sessions/Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Offline

#3 Nov. 22, 2005 11:37:41

P.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Finding numbers of visitors


Adrian, thank you for your reply.
I checkedhttp://www.djangoproject.com/documentation/sessions/and you
say:``Session dictionary keys that begin with an underscore are
reserved for internal use by Django. ``
So, I expect some to be exist. Is there a list of such session
dictionary keys that begin with an underscore ?

Thank you for your answer
regards,
L.

Offline

#4 Nov. 22, 2005 14:36:34

Adrian H.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Finding numbers of visitors


On 11/22/05, PythonistL <> wrote:
> Adrian, thank you for your reply.
> I checkedhttp://www.djangoproject.com/documentation/sessions/and you
> say:``Session dictionary keys that begin with an underscore are
> reserved for internal use by Django. ``
> So, I expect some to be exist. Is there a list of such session
> dictionary keys that begin with an underscore ?

You shouldn't get or set session keys that begin with an underscore,
because those are handled by Django and you may cause strange side
effects by messing with them directly.

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Offline

#5 Nov. 22, 2005 17:44:24

Luciano R.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Finding numbers of visitors


I think that is time for the admin have some statistics usage of the
applications. Or maybe another app include with the package.

Offline

#6 Nov. 22, 2005 18:54:35

Simon W.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Finding numbers of visitors


On 22 Nov 2005, at 17:43, Luciano Rodrigues da Silva wrote:I think that is time for the admin have some statistics usage of the
applications. Or maybe another app include with the package.Stats is a very obvious application for Middleware. I bet you coulddo something very, very cool along these lines...

Offline

#7 Nov. 22, 2005 19:23:05

Luciano R.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Finding numbers of visitors


Well, I think I am not the best person to do this, but I can try. Can
you gime some sugestion about the data the stats need to have. I think
number of user in days, weeks, months, type of browser, geographic
location, ...

Offline

Board footer

Moderator control

Enjoy the 22nd of January
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support