go to post Michoel Reach · Aug 4, 2023 Thank you, that works. Just .obj files, though. Since Intersystems has told us a few months ago that they no longer plan to update the code, is it possible that they wouldn't mind making the .int routines available? Thanks!
go to post Michoel Reach · Jul 31, 2023 I see that, but it isn't the actual code, just pointers to tags like ConvertFiles^%fm2class, which are not available.
go to post Michoel Reach · Jul 28, 2023 All I see is .inc there in %SYS. How do I find or export the source code? When I try to Go to source code in the .inc file (CTR-SHIFT-G), it says, '...%SYS/%fm2class" does not exist on the server' Thanks!
go to post Michoel Reach · Apr 8, 2021 Huh. Well, that would simplify matters. You're saying that Latin-1 is actually a subset of Unicode, backwards compatible. If so, never mind, sounds like we're good!
go to post Michoel Reach · Apr 8, 2021 Sorry, could you explain? If there are special characters (i.e., non-ASCII) in the input stream from ISO-8859-1, would they load correctly into our database - that is, as the correct corresponding Unicode characters - without a conversion process? Thanks.
go to post Michoel Reach · Apr 8, 2021 Thank you! I followed what you said, right up to the last step, "The appropriate table can be used..." How does one use these tables, just by the name "CP1252", as in s str0=$zconvert(str,direction,"CP1252") ? Or .../IOTABLE="CP1252" Thanks!
go to post Michoel Reach · Apr 1, 2021 We are getting hits from random IP addresses around the world, a few times a week. They ping the page and then never proceed further, never log in (they wouldn't be able to without an account). We get half-a-dozen hits within a few seconds, using up half-a-dozen licenses - we only have 14, and several more are used anyhow by the system. Those session persist for twenty minutes because of the Grace period for our CSP pages. When that happens, it is very likely that some of our own users will be unable to log in because all the licenses are gone. We try to stop them at the firewall, but it's new IP addresses every time, and anyone can go to our website. So what I wanted to do was check the license logging every minute, see which sessions are from IPs that never tried to log in, say after a minute, and get rid of them. That way we get the license(s) back. I have working code that identifies those sessions. If I were coming from a CSP page itself, I would do something like s %session.EndSession=1k %session.Datad %session.Logout()But that won't work from an outside job: I need to be able to access the right session. That's all I'm trying to do: get access to the correct %CSP.Session object.
go to post Michoel Reach · Apr 1, 2021 If I could ask, does this reclaim the license used for the CSP session, or is there another step that does that quickly? Thanks!
go to post Michoel Reach · Mar 31, 2021 Thank you! Does this reclaim the license as well? Is any other cleanup required? Michael
go to post Michoel Reach · Mar 31, 2021 I notice that you aren't actually doing the lookup by session id, just looking at all the system processes there are. Does that mean that there isn't really any way to do this on the session level? Michael
go to post Michoel Reach · Mar 31, 2021 Sorry, could you explain what you mean by this? If you mean, when would we want to end a session, the answer is that we have been getting a lot of CSP sessions created by pings on the web page from the outside. Someone from who-knows-where calls the web page, a session is created and it uses a license until the grace period expires 20 minutes later. If half-a-dozen of them happen at once (which has been happening), we're out of licenses. So we were trying to look over the license usage each minute, check each of the licenses associated with a CSP type, and end the session if that user never actually logged in.