Hope your very well. Very nice to see you in the forums :)
This should actually be quite easy to do if you don't mind users having to login. I would not suggest passing usernames or passwords within the querystring to automatically authenticate users.
You can pass in a ReturnURL to our login page. If passed in this will be used as the default redirect after a successful login. There are ways around this. For example you could create a cookie with a GUID and do a look up for this within the InstantASP_Users table. You would always need to ensure the GUID is unqiue for each user. This does have security implications.
I would suggest if you can using the login page method. For example…https://localhost/InstantKB2011/Logon.aspx?ReturnURL=https://localhost/InstantKB2011/KnowledgebaseArticle10107.aspx
Would redirect you to https://localhost/InstantKB2011/KnowledgebaseArticle10107.aspx
once logged in.
To get this to work you will need to ensure you've not specified a default login URL within the application settings. To do this goto the InstantKB.NET admin CP and click settings on the top. Go to "Registration & Login". Ensure the "Login Landing Page" textbox is empty.
So when you distribute links to customers that require login simply add "https://domain.com/Logon.aspx?ReturnURL
=" before the article link. I.e.https://domain.com/Logon.aspx?ReturnURL=https://domain.com/KnowledgebaseArticle10107.aspx
If users are already logged in (via remember me) the login will be skipped and you'll be taken right to the returnURL.
Hope this helps. If I can assist further please don't hesitate to respond,
email@example.comBlog | Community