Request("SESSION") will probably try to get "SESSION" from the querystring or 
form variables. So check if it is there.



An alternative way to get the session id is in JavaScript: 
thenameofthemapframe.GetSessionId()



Another way is to create the session in VB.NET, then you can save the session 
id when you are creating it.



________________________________________
Van: [email protected] 
[[email protected]] namens jmacalister 
[[email protected]]
Verzonden: dinsdag 27 september 2011 22:39
Aan: [email protected]
Onderwerp: [mapguide-users] get Session ID

How do I get the Session ID in VB.Net?

We were using Fusion but had to switch to Basic for performance.
With Fusion we were using:
        Dim mgSessionId As String = Request("SESSION")
Now that we're using a Basic web layout, it returns nothing.

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/get-Session-ID-tp6837654p6837654.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to