web applications - How can I access session vars of a website from a C# app? -


i developing app xamarin.ios , need log website. managed send hardcoded cookie login page of website , logs me in. first problem: how can log in, without sending hardcoded cookie?

and second: in login function website, there set session vars , need access them in app, have no idea how it.

does has insight on this?

“this first problem: how can log in, without sending hardcoded cookie?” – need send http request appropriate post parameters , application send login cookie can use subsequent requests. not sure how in xamarin.ios though.

“and second: in login function website, there set session vars , need access them in app, have no idea how it.” – short answer can’t. i’d suggest using query string rahul suggested or creating web service can use instead.


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -