What to I have to do to auto login to Hesk?
I have added Hesk into a subdirectory of my exisiting ASP.Net site, and I am trying to avoid having users to have to login again when they have already logged into the ASP.Net application.
I saw that the admin_main.php looks for $_POST['user'] and $_POST['pass'], so I tried sending:
http://localhost/hesk23/admin/index.php ... edpassword
However, this still causes the login form to display.
I realize that sending user information in this manner is not safe, but I am just exploring this method and right now our information is not sensitive enough to worry about security at this time.
Autologin?
Moderator: mkoch227
Re: Autologin?
You will need to send user and password using POST and not GET method (by adding them to the query you are sending them as GET).
Also, you will need to send value 'a' set to 'do_login' (this one can be sent using GET).
The exact code to use would be up to you as it's out of the scope of my free support, but the above guidelines should turn you into the correct direction.
Also, you will need to send value 'a' set to 'do_login' (this one can be sent using GET).
The exact code to use would be up to you as it's out of the scope of my free support, but the above guidelines should turn you into the correct direction.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: Autologin?
Thanks, it worked. It also gave me a wonderful opportunity to brush up on the POST and GET methods. 
