PDA

View Full Version : [OPEN][BETA3]Addressbook lookup in session.js necessary?



hirecules
26 Dec 2009, 8:32 AM
This is related to previous postings regarding the session.js issues in beta3. There seems to be a workaround on this issue. I commented out the AddressBooks lookup:

' AddressBooks
' jsonText = jsonText + | "addressBooks" : | + getAddressBooks(session)
' jsonText = jsonText + SEP + nl


Here's my question though:

Jack, is there a particular reason that we need to lookup each address book on the server when running session.js?

jratcliff
30 Dec 2009, 9:59 AM
This is related to previous postings regarding the session.js issues in beta3. There seems to be a workaround on this issue. I commented out the AddressBooks lookup:

' AddressBooks
' jsonText = jsonText + | "addressBooks" : | + getAddressBooks(session)
' jsonText = jsonText + SEP + nl


Here's my question though:

Jack, is there a particular reason that we need to lookup each address book on the server when running session.js?

Well, we thought that getting the list of address books in advance would be helpful but you and others have showed us that there are environments where this 'advance' lookup causes problems so I'll work with Rich to refactor this and just do the lookup on-demand only when needed.

Sorry for the inconvenience this has caused you.

Jack