The problem I se with this idea is there doesn't seem to be a variable for "HAS_MAP_UNSAVED_CHANGES". Using the "HAS_MAP_UNACKNOWLEDGED_DEVICES" could lead to saving a map that really didn't change - I check file dates when I have a problem to see if it's something being over-written which shouldn't be, however if it didn'tr need to be saved and it does, that method of tracking down problems disappears or becomes suspect. I do see something in the script below which I will have to investigate to see if I can somehow use the logs somehow to watch for changes and set a flag that the system will understand cue the maps as needing to be saved once set in context for a save-all-maps.asp script).
------------------------------------------------------------ Bryan Harrell, SPII Network Infrastructure - Tallahassee Fla. Dept of Revenue (850)-921-0700 SunCom 291-0700 ------------------------------------------------------------ >>> [EMAIL PROTECTED] 10/15/2004 2:15:07 PM >>> Donald, This is an example of a page that is dynamically created by my script. <html><head><META HTTP-EQUIV='Refresh' CONTENT='15; URL=topview.asp'> <%APPLICATIONSET% (STARTUP_MAP_DIRECTORY,'d:\apps\campusgold\maps'></head><body><BR> <%CURRENT_MAP% Zone9.wup> <%MAP% FILENAME> <%IF% HAS_MAP_UNACKNOWLEDGED_DEVICES> <%ACKNOWLEDGE_MAP_ALERTS%><%LOG_USER_EVENT% LOG_ACKNOWLEDGED_MAP><%ENDIF%><BR></body></html> During each iteration of the script or page overwrite; the map filename is replaced with another map. Whatever I am trying to accomplish works every iteration. But if I created an asp page that included this code (for example) 10 times, with each <%CURRENT_MAP% filename> different or used <%CURRENT_MAP% (%MAP% FILENAME)> inside <%START_LOADED_MAP_LIST%> tags and so forth, the page would only affect the first map context. The map context stays the same once it is set no matter what code appears on the rest of the page. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hart, Donald (EM, ITS) Sent: Friday, October 15, 2004 12:46 PM To: [EMAIL PROTECTED] Subject: RE: [WhatsUp Forum] Script to write maps to disk Can you send me the asp code that you are using. I have a page that I cjange context on all the time in the same page without any issues. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony Franklin Sent: Friday, October 15, 2004 1:43 PM To: [EMAIL PROTECTED] Subject: RE: [WhatsUp Forum] Script to write maps to disk If you really want to use a AdminSaveAll.asp, you really are going to have to reload in order to change context to save a each map. That's what I was getting at. O -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Dennis Sent: Friday, October 15, 2004 12:10 PM To: [EMAIL PROTECTED] Subject: Re: [WhatsUp Forum] Script to write maps to disk Though that is an interesting solution - it is not the one I am seeking. There are many, many places in the web interface (a lot of customized code) which can change settings - and if users had to wait for a Save each time something was changed, the UI itself would become a lot less friendly. I am mostly interested in any synchronization or corruption possibilities of iterating through all maps and saving each when say http://<supserver>/AdminSaveAll.asp is called. -Jason On Fri, 15 Oct 2004 12:37:47 -0400, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Forget my old email.. i gave you all a wrong link. > > This is right link > > http://support.ipswitch.com/kb/WG-20020321-DM01.htm > > Later > > > Harry > > -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -+- > This message is for the named person's use only. This communication is for > informational purposes only and has been obtained from sources believed to > be reliable, but it is not necessarily complete and its accuracy cannot be > guaranteed. It is not intended as an offer or solicitation for the purchase > or sale of any financial instrument or as an official confirmation of any > transaction. Moreover, this material should not be construed to contain any > recommendation regarding, or opinion concerning, any security. It may > contain confidential, proprietary or legally privileged information. No > confidentiality or privilege is waived or lost by any mistransmission. If > you receive this message in error, please immediately delete it and all > copies of it from your system, destroy any hard copies of it and notify the > sender. You must not, directly or indirectly, use, disclose, distribute, > print, or copy any part of this message if you are not the intended > recipient. Any views expressed in this message are those of the individual > sender, except where the message states otherwise and the sender is > authorized to state them to be the views of any such entity. > > ITG Inc. and/or its affiliates reserves the right to monitor and archive > all electronic communications through its network. > > ITG Inc. Member NASD, SIPC > -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -+- > > Please visit http://www.ipswitch.com/support/mailing-lists.html > to be removed from this list. > > An Archive of this list is available at: > http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/ > Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/ Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/ Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/ Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
