Share Cookies between UIWebViews on Seperate Tabs
Hi
I have created an app that consists of a tab controller with UIWebViews on each tab. The webviews point to a login page
When the user logs in they are redirected to a different page depending on which tab they are in. A cookie is used to authenticate the user across the site.
The login page automatically redirects the user if a cookie already exists.
The problem I am having is if the user logs in on one tab and the cookie is created and can be accessed by the creating UIWebView it cannot be accessed by the UIWebView in one of the other tabs.
I have looked at NSHTTPCookie but dont really understand it, This is my first app my background is php and javascript.
Am I approaching this the right way?
Appreciate any help
Thanks
Irf
|