ProductsDemosSupportCompanyDownloadPricing
Contents
Search:

Home > How To > How to automatically login to a project via session variables

How to automatically login to a project via session variables

1.      In the project folder, create a file named “autologin.aspx” (it doesn’t matter what the name is). You could also set these session variables from your app and then redirect to the helpconsole project.

2.      Add the following text:
<%
Session("{project}_autologin_username") = "{username}"
Session("{project}_autologin_password") = "{password}"
Response.Redirect("default.aspx")
%>

Example: 
<%
Session("myproject_autologin_username") = "jsmith"
Session("myproject_autologin_password") = "trixy"
Response.Redirect("default.aspx")
%>

3.       Run localhost/helpconsole2010/{project}/autologin.aspx 




Properties
Article ID:
kb-how_automatically_login_to_a_project_via_session_variables
Views: 1659
Created By: admin
Modified By: admin
Created Date: 5/1/2013 3:15 PM
Last Modified: 5/1/2013 3:15 PM
Actions
Print This Article
Bookmark
Email This Article
Previous Article
Next Article

Was this page helpful?YesNo