I have a program where I want to give up some useful materials for study. This site also supports a session key and another key. If I try to enter a subpage, then it will throw me out and show a session message. I could not save the session key in the web request class. so please give me some idea on how I can maintain a session in the web request class.
You need to support CookiesCollection according to your requests.
var request = (HttpWebRequest)HttpWebRequest.Create("http://www.mysite.com/"); var cookies = new CookieContainer(); //Pass the collection along with each request to maintain session request.CookieContainer = cookies;
, cookie. .
, , . , , .
iFrame. - ( IE8). , ? Google P3P, .
-sa
Source: https://habr.com/ru/post/1737223/More articles:Learning Web Programming - javascriptОбнаружение и поиск луч пересечения против кубического треугольника безье - mathDatabase Theory - The Relationship Between Two Tables - relational-databaseМысли о модели безопасности для хранения данных кредитной карты - securityDjango admin check - djangoReactive Framework ASP.NET MVC - .netCocoa drag and drop multiple windows example - cocoaNHibernate Linq Supplier Request - nhibernateWeblogic HTTP Caching Header Settings - weblogictangent of two circles - c #All Articles