I'm going to be a working on a tool to log into a site and upload files, the tool will send requests to the site ( everything is coded server-side already ).
What I'm concerned with, the tool will prompt the user for Username/Password when he run it, then when the user make requests, the tool will have to check if the session is valid ( the current cookie he have is valid ).
How can I do that? I'm new to VB.NET.. What's the best way to login to the site? After I login, will the tool have the cookie automatically? And how I can check that the cookie is valid when a request is initiated?
Question
murderdoll
Hello,
I'm going to be a working on a tool to log into a site and upload files, the tool will send requests to the site ( everything is coded server-side already ).
What I'm concerned with, the tool will prompt the user for Username/Password when he run it, then when the user make requests, the tool will have to check if the session is valid ( the current cookie he have is valid ).
How can I do that? I'm new to VB.NET.. What's the best way to login to the site? After I login, will the tool have the cookie automatically? And how I can check that the cookie is valid when a request is initiated?
The site is not an ASP site. Mostly PHP.
Thanks in advance
Link to comment
Share on other sites
3 answers to this question
Recommended Posts