<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style title="owaParaStyle"><!--P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></style>
</head>
<body ocsi="x">
<p><font face="Tahoma" size="2">Request(&quot;SESSION&quot;) will probably try to get &quot;SESSION&quot; from the&nbsp;querystring or form variables. So check if it is there.</font></p>
<p><font face="tahoma" size="2"></font>&nbsp;</p>
<p><font face="tahoma" size="2">An alternative&nbsp;way to get the session id is in</font><font face="tahoma" size="2">&nbsp;JavaScript: thenameofthemapframe.GetSessionId()</font></p>
<p><font face="tahoma" size="2"></font>&nbsp;</p>
<p><font face="tahoma" size="2">Another way is to create the session&nbsp;in VB.NET, then you can save the session id when you are creating it.</font></p>
<p><font face="tahoma" size="2"></font>&nbsp;</p>
<p><font face="Tahoma" size="2">________________________________________<br>
Van: mapguide-users-bounces@lists.osgeo.org [mapguide-users-bounces@lists.osgeo.org] namens jmacalister [jmacalister@cityofgp.com]<br>
Verzonden: dinsdag 27 september 2011 22:39<br>
Aan: mapguide-users@lists.osgeo.org<br>
Onderwerp: [mapguide-users] get Session ID<br>
<br>
How do I get the Session ID in VB.Net?<br>
<br>
We were using Fusion but had to switch to Basic for performance.<br>
With Fusion we were using:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim mgSessionId As String = Request(&quot;SESSION&quot;)<br>
Now that we're using a Basic web layout, it returns nothing.<br>
<br>
--<br>
View this message in context: http://osgeo-org.1803224.n2.nabble.com/get-Session-ID-tp6837654p6837654.html<br>
Sent from the MapGuide Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapguide-users mailing list<br>
mapguide-users@lists.osgeo.org<br>
http://lists.osgeo.org/mailman/listinfo/mapguide-users</font></p>
</body>
</html>