I have an server that can fetch json data via posting request to specific url.
login cookie session
required for fetching data.How can apple watch app share that cookie session
on iPhone app?
To share data like cookie session
on iPhone app, you can use App Groups. Because both WatchKit Extension and iOS app are installed on user's iPhone.
Sharing Data with Your Containing App https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html#//apple_ref/doc/uid/TP40014214-CH21-SW1
To share data on iPhone app, you have to use Watch Connectivity. Because watchKit Extension is installed on user's Apple Watch, and iOS App is the only code and view installed on iPhone.