c# - Open a web from Winforms with session initialized -


i have winforms application use login authenticate. have asp.net web uses same login parameters , save user in session.

i want open web winforms user session initialized, user doesn't needs log again.

is possible?

with system.diagnostics.process.start("http://myweb.com?login=xxx&pass=yyy") can values , simulate login event, don't want pass user parameters in url. suggestions?

thanks.

the safest way create token table generate login token against userid.

when opening site open different page ie. logintoken.aspx , retrieve userid table , save in session. redirect user default page.

i not advise passing user credentials via query string.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -