problem is problem

Session open, crash :frowning:

Sub Open()
  select case me.platform
  case webSession.platformType.iPad
    app.desktop = false
  case webSession.platformType.iphone
    app.desktop = false
  case webSession.platformType.iPodTouch
    app.desktop = false
  case webSession.platformType.AndroidPhone
    app.desktop = false
  case webSession.platformType.AndroidTablet
    app.desktop = false
  case webSession.platformType.Blackberry
    app.desktop = false
  end select
End Sub

Why do you have an “app.desktop” property. Shouldn’t you have a “session.desktop” property instead?

For what it’s worth, I added a app.desktop boolean property and my app worked just fine with your code for the event.

I had the same experience as Brock. No crash whatsoever.

But I find the use of an App property for what is essentially related to session illogical. What will happen to app.Desktop if an iPad connects while a PC is already connected ? Or the other way ? App.Desktop will flip every time a new device connects. I don’t know what you want to do with App.Desktop later on, but the way you set it up, it is going to be completely unpredictable.

I think it would make more sense to have the Desktop property part of Session.