c# - Automatically login when clicking on a URL and redirect to given URL -
i can't find specific. i'm new asp.net, , c# @ same time... i'm struggling right...
i have user form submission url, when click url login page (session use), how automatically login when clicking url without having go through login page ?
if i understand correctly can make direct authentication username , password want like
in pageload add this:
formsauthentication.authenticate("youruser", "yourpass");
Comments
Post a Comment