PDA

View Full Version : a few quick programming questions for the makers.


riddla604
06-09-2008, 10:34 PM
for one of the boys that made vbull these should be simple...

a) the current active members. where is the length of time set for that? what i mean, i assume it works like all other systems, X seconds from lastactivity, and you appear on that list. I need to match it with the existing elements in our site for flawless integration.

b) sessionhash. once a user is logged in and 'able to do member only stuff'. does the value used in sessionhash change? or is it set once per login and left alone?

thanks,

Tomasz.

--------------- Added 1213066010 at 1213066010 ---------------

the answer to #1 is roughly line 405 of /index.php, variable $datecut.

now number two, anyone?

just need to know if sessionhash changes at all after a user logs in.

thanks.

Dismounted
06-10-2008, 07:18 AM
1. The Session Timeout set in Admin CP.
2. It will be left alone provided the user browses a page within the session timeout value.

riddla604
06-10-2008, 11:32 AM
thanks man.

and once session timeout has been reached, and a user browses a page...

are they shown the login page? or is the session refreshed and the user can continue without any prompts?

Dismounted
06-10-2008, 12:07 PM
They will be logged out, unless they checked "remember me".