[OpenLayers-Users] Controls and sessionState in ASP.NET

Linda Rawson linda.rawson at gmail.com
Fri Sep 21 17:07:09 EDT 2007


I have not had the problem with openlayers but I have with other dhmtl
stuff.  I finally had to store the values I needed in cookies.  Thanks for
the heads up.

Linda Rawson


On 9/21/07, Jeff Dege <jdege at korterra.com> wrote:
>
> I'm serving pages containing maps with IIS and ASP.NET 2.0.  The pages,
> once they load in the browser, have always worked fine.  Javascript in
> the browser is javascript in the browser, how the server built the pages
> doesn't much matter.
>
> Until it does.
>
> I was making changes in the web.config file, trying to resolve a session
> timeout issue.  One thing I tried was to add a sessionState to
> system.web:
>
>        <system.web>
>                <sessionState
>                        cookieless="true"
>                        timeout="5"
>                        >
>                </sessionState>
>        ...
>        </system.web>
>
> And had an entirely unexpected result.
>
> My PanZoomBar and LayerSwitcher controls disappeared.  Other controls,
> placed off the map div, drew fine.  Panel controls placed on the map div
> drew fine.  But these two controls, PanZoomBar and LayerSwitcher, didn't
> draw at all.
>
> I removed the sessionState element, and things worked fine, again.
>
> I'm not calling this a bug, but I thought I'd throw it out there, just
> in case it might help someone else.  It's not an interaction I would
> have expected.
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20070921/3b14c540/attachment.html


More information about the Users mailing list