Atozed Forums
gSession.Lookup vs gSession.Execute - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: gSession.Lookup vs gSession.Execute (/thread-2837.html)



gSession.Lookup vs gSession.Execute - tasnim - 08-15-2022

hi everyone

After checking SessionList, SessionLookup151 in demo some question arises

what is the difference between gSession.Lookup and gSession.Execute
it appear that both achieve the same result
are they different in session lock mechanism?
when should we use each of them?

thanks.


RE: gSession.Lookup vs gSession.Execute - Alexandre Machado - 08-17-2022

They are exactly the same in the new implementation.

From the comments in our code:

> "LookUp is just Execute() with another name. Kept to make migration easier."