Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

1 simple ?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
1. i am making a subscription web site for someone, what i need to do is say you are on page1.asp you click sign up it goes to a form you fill it out if you get accepted it goes to signup.asp and if you get declined it goes to sorry.asp. on signup.asp it has a link to make a user name and password. i need to know how to make it so that only the people that come from signup.asp are only allowed to access the page where thay can make there user name and password and so that no one else could access the user name and password page. could someone please help me out i have been trying to do this for like 2 weeks now. thank you very much.
 
You can use session("variables") or Cookies. That's your call.
But if you are asking on how to do it, that's a different animal altogether. QUOTE OF THE DAY
"The most important ingredient in the formula of success is knowing how to get along with people"
<%
Jr Clown
%>
 
Place a hidden field om signup.asp:
<input type=hidden name=FromSignup value=Yes>


on your password page start with:

if request.from(&quot;FromSignup&quot;) <> &quot;Yes&quot; then
response.redirect ( <a warning page>)
response.end
end if


br
Gerard
(-:

Better a known bug then a new release.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top