In this question I asked how to POST to a php file form a vb.net app: http://stackoverflow.com/questions/2615335/post-to-webpage-in-vb-net-win-forms-desktop-not-asp-net So now I've logged in the user user by posting their username and password to the php file, the php file then does security/checks they exist/etc and if both username and password are correct is stores the user ID in a session variable.
Vb.net app yapman için kullanıcı gereken bir sayfadan veri indirmek için çalışırsa Şimdi, yaparak bu denetler:
if (!isset($_SESSION['uid'])) {
header("Location: index.php");
}
However after having logged correctly in the app the session variable is not set. How does session work with a vb.net app like this?
Başarıyla kullanıcı günlükleri ben kullanıcı kimliği indirmek ve vb.net app tutmak ve daha sonra kimlik doğrulaması gerektiren her sayfaya göndermek gerekir?