Detect ipad or iphone

how i can check if the user is using i iPad or Iphone

User agent

select case me.platform
case webSession.platformType.iPad

case webSession.platformType.iphone

end select

Take a look at the WebSession page in the documentation wiki, at the ‘Enumerations’ section…
HTH