Discussion Locked

Password Protect - ASP/Visual InterDev

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,
I am trying to set up a password system that uses a password/username to connect a user to his/her specific site. I can set up a password protected site, but can't link the name and password to the users specific page. I would like to do this using ASP and if necessary VisualInterDev. I appreciate any help, this has been driving me nuts. Thanks!

3 replies

by michelm

I found the following for VisualInterDev:

http://msdn.microsoft.com/workshop/c-frame.htm#/workshop/languages/vinterdev/default.asp

Specific to a client login form built with VisualInterDev:

http://msdn.microsoft.com/workshop/languages/vinterdev/bin/Validation/Validation2.asp

And two neutral ASP login tutorials that can be used even with Notepad :

http://www.asptoday.com/articles/19990514.htm

http://www.4guysfromrolla.com/webtech/021600-1.shtml

After you have the user registration you have to define the way you build up the URL based on the users account.

One way could be that after successful login you redirect to the target page e.g. in ASP this looks like this:

<% response.redirect("http://www.xyz.com/user.html?username=name") %>

On the target page you can use the username to build up the user specific items.

Another way could be that you set a session variable with the username and on the next page you use this session variable to build the custom site. Remember session variables in IIS uses cookies.

The login tutorials from 4guysfromrolla and the pages at msdn cover the redirect to user-specific pages etc.. Additionally the following articles are helpful in creating customised pages:http://www.4guysfromrolla.com/webtech/050199-1.shtml
and this one
http://www.4guysfromrolla.com/webtech/051599-1.shtml

I hope this helps, give me shout if I can assist you building this page

Michel

This discussion is closed to new replies.