[mapguide-users] get Session ID
Kevin Pelgrims
Kevin.Pelgrims at realdolmen.com
Wed Sep 28 03:31:04 EDT 2011
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: mapguide-users-bounces at lists.osgeo.org [mapguide-users-bounces at lists.osgeo.org] namens jmacalister [jmacalister at cityofgp.com]
Verzonden: dinsdag 27 september 2011 22:39
Aan: mapguide-users at lists.osgeo.org
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
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20110928/db3bb552/attachment.html
More information about the mapguide-users
mailing list