<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Cambria;
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
@font-face
        {font-family:"Palatino Linotype";
        panose-1:2 4 5 2 5 5 5 3 3 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
h1
        {mso-style-priority:9;
        mso-style-link:"Heading 1 Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:18.0pt;
        font-family:"Verdana","sans-serif";
        color:red;
        font-weight:normal;}
h2
        {mso-style-priority:9;
        mso-style-link:"Heading 2 Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:14.0pt;
        font-family:"Verdana","sans-serif";
        color:maroon;
        font-weight:normal;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Lucida Console";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.Heading1Char
        {mso-style-name:"Heading 1 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 1";
        font-family:"Verdana","sans-serif";
        color:red;}
span.Heading2Char
        {mso-style-name:"Heading 2 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 2";
        font-family:"Verdana","sans-serif";
        color:maroon;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Lucida Console";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle24
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle25
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-family:"Cambria","serif";color:black'>Hi
Brian / List<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Cambria","serif";color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-family:"Cambria","serif";color:black'>I
added your code to the Fusion taskpane.js file and it seems like the session id
is being obtained.&nbsp; Many thanks for that bit of code.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Cambria","serif";color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-family:"Cambria","serif";color:black'>I&#8217;ve
done my best to jump this next hurdle on my own but have not had any luck as of
yet.&nbsp; I&#8217;m now getting the following error message in the task pane
when I try and activate my search functions:<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Cambria","serif";color:black'><o:p>&nbsp;</o:p></span></p>

<h1 style='mso-margin-top-alt:4.2pt;margin-right:0in;margin-bottom:4.2pt;
margin-left:0in'><b><span style='font-size:11.0pt;font-family:"Cambria","serif";
color:black'>Resource was not found:
Session:e51e47f0-8364-102c-8000-005056c00008_en_7F0000010AF20AF10AF0//UtilityMap.MapResource
was not found:
Session:e51e47f0-8364-102c-8000-005056c00008_en_7F0000010AF20AF10AF0//UtilityMap.Map<o:p></o:p></span></b></h1>

<h1 style='mso-margin-top-alt:4.2pt;margin-right:0in;margin-bottom:4.2pt;
margin-left:0in'><span style='font-size:11.0pt;font-family:"Cambria","serif";
color:black'><o:p>&nbsp;</o:p></span></h1>

<h1 style='mso-margin-top-alt:4.2pt;margin-right:0in;margin-bottom:4.2pt;
margin-left:0in'><span style='font-size:11.0pt;font-family:"Cambria","serif";
color:black'>The Map resource used in the fusion layout is:&nbsp; Library://Lakeland
Power/Maps/UtilityMap.MapDefinition<o:p></o:p></span></h1>

<h1 style='mso-margin-top-alt:4.2pt;margin-right:0in;margin-bottom:4.2pt;
margin-left:0in'><span style='font-size:11.0pt;font-family:"Cambria","serif";
color:black'><o:p>&nbsp;</o:p></span></h1>

<h1 style='mso-margin-top-alt:4.2pt;margin-right:0in;margin-bottom:4.2pt;
margin-left:0in'><span style='font-size:11.0pt;font-family:"Cambria","serif";
color:black'>Would it appear to the experts on this list that this problem is more
about me not having filenames and paths set properly to match the code, or would
you think the problem is deeper rooted &#8211; for example how the MAPNAME is
handled in fusion.&nbsp; <o:p></o:p></span></h1>

<h1 style='mso-margin-top-alt:4.2pt;margin-right:0in;margin-bottom:4.2pt;
margin-left:0in'><span style='font-size:11.0pt;font-family:"Cambria","serif";
color:black'><o:p>&nbsp;</o:p></span></h1>

<h1 style='mso-margin-top-alt:4.2pt;margin-right:0in;margin-bottom:4.2pt;
margin-left:0in'><span style='font-size:11.0pt;font-family:"Cambria","serif";
color:black'>Thanks<o:p></o:p></span></h1>

<h1 style='mso-margin-top-alt:4.2pt;margin-right:0in;margin-bottom:4.2pt;
margin-left:0in'><span style='font-size:11.0pt;font-family:"Cambria","serif";
color:black'>Fraser<o:p></o:p></span></h1>

<h1 style='mso-margin-top-alt:4.2pt;margin-right:0in;margin-bottom:4.2pt;
margin-left:0in'><span style='font-size:11.0pt;font-family:"Cambria","serif";
color:black'><o:p>&nbsp;</o:p></span></h1>

<h1 style='mso-margin-top-alt:4.2pt;margin-right:0in;margin-bottom:4.2pt;
margin-left:0in'><span style='font-size:11.0pt;font-family:"Cambria","serif";
color:black'><o:p>&nbsp;</o:p></span></h1>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&lt;!-- #Include
File=&quot;../utilityfunctions.aspx&quot; --&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>String mgSessionId =
GetRequestParameters()[&quot;SESSION&quot;];<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>bool showClearButton = false;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>try<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>{<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; // Initialize the web-tier and
connect to the Tux Site using<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; // the Tux session identifier
stored in PHP session state.<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; InitializeWebTier();<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; MgUserInformation userInfo = new
MgUserInformation(mgSessionId);<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; MgSiteConnection siteConnection =
new MgSiteConnection();<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; siteConnection.Open(userInfo);<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; // Create a ResourceService
object and use it to open the Map<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; // object from the sessions
repository. <o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; MgResourceService resourceService
= siteConnection.CreateService(MgServiceType.ResourceService) as
MgResourceService;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; MgMap map = new MgMap();<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; map.Open(resourceService,
&quot;UtilityMap&quot;);<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; MgLayer layer =
GetLayerByName(map, &quot;ParcelMarker&quot;);<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; showClearButton = (layer == null)
? false : layer.GetVisible();<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>}<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>catch (MgException mge)<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>{<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; Response.Write(mge.GetMessage());<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; Response.Write(mge.GetDetails());<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>}<o:p></o:p></span></p>

<h1 style='mso-margin-top-alt:4.2pt;margin-right:0in;margin-bottom:4.2pt;
margin-left:0in'><span style='font-size:10.0pt;font-family:"Courier New"'>%&gt;</span><span
style='font-size:11.0pt;font-family:"Cambria","serif";color:black'><o:p></o:p></span></h1>

<h1 style='mso-margin-top-alt:4.2pt;margin-right:0in;margin-bottom:4.2pt;
margin-left:0in'><span style='font-size:11.0pt;font-family:"Cambria","serif";
color:black'><o:p>&nbsp;</o:p></span></h1>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Berdel,
Brian<br>
<b>Sent:</b> Friday, September 11, 2009 9:12 AM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> RE: [mapguide-users] Fusion - Session ID invalid because
thesession separator character was not found<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>I updated the Taskpane.js file
in the widgets folder to fix this issue.&nbsp; It does not pass the parameters
on load without this code I believe I entered a ticket for this with new code a
while back. <o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Change your setContent function
to this:<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>setContent: <span style='color:blue'>function</span>(url)
{<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span
style='color:blue'>if</span> (<span style='color:blue'>this</span>.nCurrentTask
&lt; <span style='color:blue'>this</span>.aExecutedTasks.length) {<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span style='color:blue'>this</span>.aExecutedTasks.splice(<span
style='color:blue'>this</span>.nCurrentTask, <span style='color:blue'>this</span>.aExecutedTasks.length
- <span style='color:blue'>this</span>.nCurrentTask);<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span
style='color:blue'>var</span> map = <span style='color:blue'>this</span>.getMap();<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span
style='color:blue'>var</span> params = []; params.push(<span style='color:#A31515'>'LOCALE='</span>
+ Fusion.locale); params.push(<span style='color:#A31515'>'SESSION='</span> +
map.getSessionID()); params.push(<span style='color:#A31515'>'MAPNAME='</span>
+ map.getMapName()); <span style='color:blue'>if</span> (url.indexOf(<span
style='color:#A31515'>'?'</span>) &lt; 0) {<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
url += <span style='color:#A31515'>'?'</span>;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } <span
style='color:blue'>else</span> <span style='color:blue'>if</span>
(url.slice(-1) != <span style='color:#A31515'>'&amp;'</span>) {<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
url += <span style='color:#A31515'>'&amp;'</span>;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } url +=
params.join(<span style='color:#A31515'>'&amp;'</span>);<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span
style='color:blue'>this</span>.aExecutedTasks.push(url);<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ++<span
style='color:blue'>this</span>.nCurrentTask;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span
style='color:blue'>this</span>.iframe.src = url;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span
style='color:blue'>this</span>.iframe.taskPaneId = <span style='color:blue'>this</span>.widgetTag.name;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span
style='color:blue'>this</span>.updateButtons();<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;
},</span><span style='color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Palatino Linotype","serif";
color:#1F497D'>Brian Berdel</span><span style='font-size:12.0pt;font-family:
"Times New Roman","serif";color:#1F497D'><o:p></o:p></span></p>

</div>

<div>

<div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Palatino Linotype","serif";
color:#1F497D'>McMahon Associates, Inc.</span><span style='font-size:12.0pt;
font-family:"Times New Roman","serif";color:#1F497D'><o:p></o:p></span></p>

</div>

</div>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Palatino Linotype","serif";
color:#1F497D'>p: 215.283.9444 x 260</span><span style='font-size:12.0pt;
font-family:"Times New Roman","serif";color:#1F497D'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Palatino Linotype","serif";
color:#1F497D'><a href="http://www.mcmtrans.com">www.mcmtrans.com</a></span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif";
color:#1F497D'>&nbsp;<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif";
color:#1F497D'>&nbsp;</span><span style='color:#1F497D'><o:p></o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Fraser
Burgess<br>
<b>Sent:</b> Thursday, September 10, 2009 1:54 PM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> [mapguide-users] Fusion - Session ID invalid because the
session separator character was not found<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hi
List.<o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I&#8217;m
modifying the Ajax utility demo found here <a
href="http://enterprise.mapguide.com/utilitymap/">http://enterprise.mapguide.com/utilitymap/</a>
.&nbsp; I made all my modifications and had my shiny new application up and
running in a basic AJAX layout.&nbsp; <o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I&#8217;m
now trying to move it across to a Fusion layout.&nbsp; All code works fine in
the basic web layout, but in the Fusion layout I get the error below.&nbsp; So
I guess the question is how does Fusion differ from Ajax when it comes to
passing through a session ID?&nbsp; Any code out there that shows how this is
done in fusion? <o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Further
to this, if I get across this initial hurdle, are there a pile more waiting for
me by taking something created for AJAX and cramming it into Fusion?<o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Thanks
for your help.<o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Fraser<o:p></o:p></p>

<div style='margin-top:5.0pt;margin-bottom:5.0pt'>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:18.0pt;font-family:"Verdana","sans-serif";color:red'>

<hr size=1 width="100%" noshade style='color:silver' align=center>

</span></div>

</div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><i><span
style='font-size:14.0pt;font-family:"Verdana","sans-serif";color:maroon'>Invalid
argument(s):<br>
[1] = &quot;&quot;<br>
The session ID is invalid because the session separator character was not
found.</span></i><span style='font-size:14.0pt;font-family:"Verdana","sans-serif";
color:maroon'> <o:p></o:p></span></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='font-size:8.5pt;
font-family:"Verdana","sans-serif";color:black'>Description: </span></b><span
style='font-size:8.5pt;font-family:"Arial","sans-serif";color:black'>An
unhandled exception occurred during the execution of the current web request.
Please review the stack trace for more information about the error and where it
originated in the code. <br>
<br>
</span><b><span style='font-size:8.5pt;font-family:"Verdana","sans-serif";
color:black'>Exception Details: </span></b><span style='font-size:8.5pt;
font-family:"Arial","sans-serif";color:black'>OSGeo.MapGuide.MgInvalidArgumentException:
Invalid argument(s):<br>
[1] = &quot;&quot;<br>
The session ID is invalid because the session separator character was not
found.<br>
<br>
</span><b><span style='font-size:8.5pt;font-family:"Verdana","sans-serif";
color:black'>Source Error:</span></b><span style='font-size:8.5pt;font-family:
"Arial","sans-serif";color:black'> <o:p></o:p></span></p>

<table class=MsoNormalTable border=0 cellpadding=0 width="100%"
 style='width:100.0%;background:#FFFFCC'>
 <tr>
  <td style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:"Lucida Console";
  color:black'><o:p>&nbsp;</o:p></span></p>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:"Lucida Console";
  color:black'>Line 34:&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
  &nbsp;&nbsp;&nbsp;&nbsp;this.args = incomingArgs;<o:p></o:p></span></p>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:"Lucida Console";
  color:black'>Line 35:&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
  &nbsp;&nbsp;&nbsp;&nbsp;this.site = new MgSiteConnection();<o:p></o:p></span></p>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:"Lucida Console";
  color:red'>Line 36:&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
  &nbsp;&nbsp;&nbsp;&nbsp;this.site.Open(new
  MgUserInformation(GetParameter(this.args, &quot;session&quot;)));<o:p></o:p></span></p>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:"Lucida Console";
  color:black'>Line 37:&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<o:p></o:p></span></p>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:"Lucida Console";
  color:black'>Line 38:&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <o:p></o:p></span></p>
  </td>
 </tr>
</table>

<p class=MsoNormal style='margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p>&nbsp;</o:p></span></p>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>

<hr size=2 width="100%" align=center>

</span></div>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:gray'>Important notice to recipients:<br>
Copies of documents that may be relied upon by you are limited to the printed
copies (also known as 'hard copies') that are signed and sealed by the Engineer
and/or Land Surveyor. Files in electronic formats, or other types of
information furnished by the Engineer and/or Land Surveyor to you such as text,
data or graphics are for your convenience only. Any conclusions or information
obtained or derived from such electronic files will be at the user's sole risk.
When transferring documents in electronic formats, the Engineer and/or Land
Surveyor makes no representation as to long-term compatibility, usability, or
readability of the documents resulting from the use of software application
packages, operating systems or computer hardware differing from those used by
McMahon Associates, Inc. at the beginning of the project.</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

</div>

</body>

</html>