Question Eduard Lebedyuk · Mar 17, 2016 How to get full URL from %Net.Request object after request I have a %Net.Request object and I want to get a full URL of the request sent (preferably after all redirects, but even full initial one would be good). For example, I have the following method: #Object Data Model #Frontend #Caché 2 8 0 1.5K
Question Eduard Lebedyuk · Mar 11, 2016 Determine currently used service I want to determine what service (eg. %Service_Console) is used for current process.I can probably use some workarounds, i.e.Is %request object presentDoes $Device contain |TRM|etcBut is there any centralised way to get current service? #Object Data Model #Terminal #Caché 2 7 0 340
Question Eduard Lebedyuk · Feb 24, 2016 Additional check on cache user authorization I need to perform additional checks before Cache user logins (let's say in a terminal for simplicity) and allow access only to those, who passed them. How do I do it? After reading about delegated authentication in docs I created this ZAUTHENTICATE routine: #Authentication #Security #Terminal #Access control #Caché 1 14 0 1.3K
Question Eduard Lebedyuk · Feb 17, 2016 Basic queue handling Let's say the user need to execute some heavy code (build a report, or extensive calculations etc.). So, of course it needs to be asynchronous, and we possibly need to store some data about execution status. How? #Object Data Model #Caché 1 6 0 824
Question Eduard Lebedyuk · Feb 7, 2016 Best practices to store user information/settings in Caché I'm interested in different approaches on how to store user data in Caché. I'm assuming that application uses Caché security/Caché users and not a self-made authentication system. Several approaches, I'm familiar with: #Caché #Security #Authentication #Access control 1 2 1 1.1K
Question Eduard Lebedyuk · Dec 16, 2015 Sync emails from mailbox to Cache Hello.I want to store a mailbox in Caché, persistently.Does anyone have some code for downloading all messages from mailbox into Caché? And maybe automatic syncing after download? I know, there is %Net.POP3 but maybe someone has already done that. Thank you. #Caché 1 12 0 1.3K