GetParameters - Page Refresh - MapName

View: New views
2 Messages — Rating Filter:   Alert me  

GetParameters - Page Refresh - MapName

by Berdel, Brian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Using this function works great unless there is a page refresh…If a user Refreshes the page the parameters are empty, and if you hold them in session state after originally retrieving them they are actually wrong…because the Map Name (in fusion) actually changes when Refreshing the page…Anyone have any ideas on this?

 

NameValueCollection GetParameters()

    {

        return Request.HttpMethod == "GET" ? Request.QueryString : Request.Form;

    }

 

Thanks

 

Brian

 


_______________________________________________
mapguide-users mailing list
mapguide-users@...
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: GetParameters - Page Refresh - MapName

by Kenneth Skovhede, GEOGRAF A/S :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
I can't figure out what problem you are having from your short description.

When is the code below activated?
Is it part of the viewer code, or your own code?
Regards, Kenneth Skovhede, GEOGRAF A/S


Berdel, Brian skrev:

Using this function works great unless there is a page refresh…If a user Refreshes the page the parameters are empty, and if you hold them in session state after originally retrieving them they are actually wrong…because the Map Name (in fusion) actually changes when Refreshing the page…Anyone have any ideas on this?

 

NameValueCollection GetParameters()

    {

        return Request.HttpMethod == "GET" ? Request.QueryString : Request.Form;

    }

 

Thanks

 

Brian

 


_______________________________________________ mapguide-users mailing list mapguide-users@... http://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________
mapguide-users mailing list
mapguide-users@...
http://lists.osgeo.org/mailman/listinfo/mapguide-users
LightInTheBox - Buy quality products at wholesale price!