How to check if session is expired?

Jackie Ng jackie.ng at aecsystems.com.au
Tue Sep 5 00:49:18 EDT 2006


Hi all,
 
Is there a way to check if a given MapGuide session ID has expired or not? I
am experiencing this annoying problem of the mapguide session expiring after
about 10 mins, forcing me to do a manual refresh of the browser. Can I do
something like this?
 
string sessionId = Request.QueryString["sessionID"];
if( sessionId is no longer valid)
{
    sessionId = CreateSession();
    ...
}

Regards,

Jackie Ng

AEC Spatial Pty Ltd. / AEC Systems Pty Ltd.
SYDNEY - MELBOURNE - BRISBANE - PERTH - ADELAIDE - HOBART 

A.B.N: 32 075 809 451

Level 4, 37-41 Prospect St. Box Hill, Victoria, 3128

Phone: 1300 368 609 
Fax:    1300 362 140 

www.aecsystems.com.au 
jackie.ng at aecsystems.com.au

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20060905/0a4bc39d/attachment.html


More information about the Mapguide-users mailing list