Bruce,

What you are doing by trying to replace the session repository of a running 
server is problematic and could lead to server instability. You really 
shouldn't do this.

The session repository is meant for temporary runtime data only and not for 
persistent data. If you want any of your session repository data to survive a 
restart you need to use the library repository instead.

Thanks,
Bruce

-----Original Message-----
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of bruce_weston
Sent: Wednesday, January 28, 2009 2:34 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Maintaining MapGuide Session during Restart


I'm just wondering if anyone has managed to do this yet? This is my attempted
MapGuide restart script to keep the contents of the session folder backed
up, but it doesn't work:

echo MapGuide Scheduler Task Starting
taskkill /F /FI "SERVICES eq MapGuideServer2.0"
net stop MapGuideServer2.0
REM xcopy c:\Progra~1\MapGuideOpenSource2.0\Server\Repositories\Session\*
c:\Progra~1\MapGuideOpenSource2.0\SessionBackup\ /E /Y
net start MapGuideServer2.0
REM xcopy c:\Progra~1\MapGuideOpenSource2.0\SessionBackup\*
c:\Progra~1\MapGuideOpenSource2.0\Server\Repositories\Session\ /E /Y
echo MapGuide Scheduler Task Completed
pause

Is there session data stored anywhere else? I really want to make the
process seamless for my users.

Bruce


--
View this message in context: 
http://n2.nabble.com/Maintaining-MapGuide-Session-during-Restart-tp2231199p2231199.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to