# WebBrowserComponent and URL::launchInDefaultBrowser()

**URL:** <https://forum.juce.com/t/webbrowsercomponent-and-url-launchindefaultbrowser/6763>\
**Category:** General JUCE discussion\
**Created:** [April 24, 2011, 7:37am UTC](https://forum.juce.com/t/webbrowsercomponent-and-url-launchindefaultbrowser/6763 "2011-04-24T07:37:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shlomi](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/shlomi/32/99_2.png) [@Shlomi](https://forum.juce.com/u/Shlomi)\
**Post date:** [April 24, 2011, 7:37am UTC](https://forum.juce.com/t/webbrowsercomponent-and-url-launchindefaultbrowser/6763/1 "2011-04-24T07:37:58Z")

</div>

Hi.

I’m working with a web login system.  
When the app starts, it checks if the user is already logged (WebBrowserComponent with size=0, looking for a login cookie)  
If not, it launches URL::launchInDefaultBrowser() so he can log-in, and then creates the login cookie.

It turns out, that Juce lunches two different browsers (ie7 in WebBrowserComponent and ie8 in URL) so the cookie thing just doesn’t work.  
I’m considering moving the whole process to WebBrowserComponent, but only as a last resort.

Any suggestions?

Thanks

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [April 24, 2011, 8:55am UTC](https://forum.juce.com/t/webbrowsercomponent-and-url-launchindefaultbrowser/6763/2 "2011-04-24T08:55:36Z")

</div>

I’m afraid I can’t really help with that - you’re at the mercy of whatever browser Windows decides to provide for those tasks!

---

<div class="post-metadata">

**Author:** ![KrisG](https://avatars.discourse-cdn.com/v4/letter/k/96bed5/32.png) [@KrisG](https://forum.juce.com/u/KrisG)\
**Post date:** [January 13, 2012, 8:49pm UTC](https://forum.juce.com/t/webbrowsercomponent-and-url-launchindefaultbrowser/6763/3 "2012-01-13T20:49:44Z")

</div>

launchInDefaultBrowser(); doesn’t work at all in iOS - neither on simulator, nor on iPad. Any help?
