navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

getting started with spooky login

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> getting started with spooky login
Page: [1]
 
winter

 

Posts: 174
Joined: 3/12/2002
From: Toronto ON Canada
Status: offline

 
getting started with spooky login - 8/19/2002 17:26:14   
Could someone help me get started with the " Spooky Login" ? I have had the program since April and been pondering ever since how to use it. ( In this area I am a pre- pre- novice)...but I am determined to " get it!"

Here is what I have done so far:

Installed and uploaded the program... Yeah ... I can log in as an administrator and as other names and Email!

2. Noodling my way around the admin menu page. Put check marks in almost everything and uploaded it. I was trying to make the login settings; not sure if I did this right. Yes I did press the submit changes button.

3. Strategize on how to use this ... what pages.... Essentially I want to use my web site to send paid participants to the program site they registered for with a login. Each program is a subweb. SOooooo..... on the root web I set up a page called " Member Services" with a link for each program on that page. Click on one of the program links and it takes you to an .asp page which I would like to protect with login. If the participant successfully logs in this page the pages provides the link to their subweb.

Problem so far. It doesn' t work like that. I am not sure what I am missing.

Also test email does not work.

What is the next two steps. I think I am close!

The site page in question is http://www.LightTravels.com/members.htm has 3 links. I was practicing with the 2nd link where nothing happens... I just get to the subweb without being asked for login

My appreciation and gratitude to anyone who can point the way!

Spooky

 

Posts: 26599
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: getting started with spooky login - 8/19/2002 23:52:04   
The first thing Ill mention, is that it wont work over a subweb.
The reason being, that the variables only work within a web, they arent transportable.
If possible, the directories should be sub folders.

When you do a protection script, the script mus remain the same.
You have : Request.Servervariables(" http://www.lighttravels.com/masters.asp" )
It should still be : Request.Servervariables(" URL" )
This code sets up the correct url for the page, you dont need to do it :-)

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to winter)
winter

 

Posts: 174
Joined: 3/12/2002
From: Toronto ON Canada
Status: offline

 
RE: RE: getting started with spooky login - 8/20/2002 11:01:34   
Hi Spooky,

Thanks so much, I redid that script and put the URL back in!... I actually understand that part now.

the page www.lighttravels.com/masters.asp is in the root web. I took the link off of that page that would redirect folks to the sub web and republished but still get the error... " Page not found"

The problem seems to be in protecting this page. The diagnostics page comes up with nice green check marks and seems to be in order as far as I can tell.

Does the page itself need to be in a directory? .... uh... I will try it and report back.

[:p]

:) Okay ... I tried putting the page I would like to protect in a directory in the root web... published it and it still returned a " Page not found" error.

Any other suggestions?

Thank you so much!
CW

< Message edited by winter -- 8/19/2002 11:25:04 AM >

(in reply to Spooky)
winter

 

Posts: 174
Joined: 3/12/2002
From: Toronto ON Canada
Status: offline

 
RE: RE: RE: getting started with spooky login - 8/20/2002 11:39:11   
The only other thing I can think of is perhaps I wrote the code out wrong. I did do it in NOTEPAD as suggested and cut and paste it into the html view of the page like so:

<%
Response.buffer=True
If Session(" UserName" ) = " " Then
Response.redirect " /login.asp?Redirect=" &Request.Servervariables(" URL" )
End if
%>

<html>


.....reverting to my learning style of making up stories... is this close?[:j]

Thanks so much!

CW

(in reply to winter)
Spooky

 

Posts: 26599
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: getting started with spooky login - 8/20/2002 17:31:58   
Perhaps its looking for the file in the subweb root?
What is the actual browser URL (that shows in the address bar) that it cant find?

Is login.asp in the root of the folder or the root of the sub? I cant find it in the root?
It may be trying to redirect to /login.asp, but its not there :-)

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to winter)
winter

 

Posts: 174
Joined: 3/12/2002
From: Toronto ON Canada
Status: offline

 
RE: RE: getting started with spooky login - 8/20/2002 17:52:35   
Thanks Spooky,

I will get this yet!

So far I have not done anything with a sub web.

What I did after the last post was create a folder in the root web called members and in it placed the file members.asp . You can get to this page from the home page navigation at http://www.LightTravels.com or go to http://www.lighttravels.com/Members/members.asp

There are 3 child pages under members.asp and each of these pages have a link on members.asp.

I tried to protect one of these links ( http://www.lighttravels.com/masters.asp ) as practice, by pasting in the script as directed. That lead to a page not found error. BY the way, even though, the page masters.asp is in the Members folder... its not showing up that way on the web.

Putting the script on either page results in a page error.

HELP! Please!

Still a mystery.


(in reply to Spooky)
winter

 

Posts: 174
Joined: 3/12/2002
From: Toronto ON Canada
Status: offline

 
RE: RE: getting started with spooky login - 8/20/2002 20:36:55   
Forgot to look at the location of login.asp ... it is:

http://www.lighttravels.com/spooky/login.asp

I assume that means it is in the root directory. Yes?

Tomorrow is another day!

I will try the whole thing from the beginning then. Wish me luck!

Its something small... I just know it. just don' t know what!

[:j]:)

(in reply to Spooky)
winter

 

Posts: 174
Joined: 3/12/2002
From: Toronto ON Canada
Status: offline

 
RE: RE: RE: getting started with spooky login - 8/20/2002 22:22:43   
I can' t get to sleep... I have to figure this out. sooo I am back....

Now I have the Members.asp page and masters.asp page both in a folder on the root web. The script is done in note pad and pasted into the beginning of the page /masters.asp . However, when published, and you right click for " view source code" ... the script does not show up.

That looks a little suspicious or am I just imaginative?

If you look at the html view of /masters.asp LIVE in FP, the script is there.

So at this point I have the script pasted in - I think correctly; the page still does not ask for a login.

Login is indeed in the root directory.

The diagnostics would lead me to believe the program has been installed correctly as I can actually log on as the administrator.

What else could it be? Hmmm....

Tomorrow....

(in reply to winter)
Spooky

 

Posts: 26599
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: getting started with spooky login - 8/21/2002 16:38:46   
If the login is in /spooky/ then the redirection will need to be " /spooky/login.asp" and not " /login.asp"

I still get a 404 on that page too though?

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to winter)
winter

 

Posts: 174
Joined: 3/12/2002
From: Toronto ON Canada
Status: offline

 
RE: RE: getting started with spooky login - 8/21/2002 22:58:41   
Well, a bit of a brain storm happened today prior to leaving for the dentist. I imagine the anxiety of that stimulated the gray cells a tad!

Okay .... I have gotten a little farther ... check the first link on this page. I put the proper login direction there. Try and log on if you have time and see where you land. I think I have to make a success page that takes you back to the protected page. Something like that.

http://www.lighttravels.com/Members/members.asp

Hopefully the brain fog imposed by the dentist will lift tomorrow!

I must say... I am enjoying trying to figure this out!

(in reply to Spooky)
winter

 

Posts: 174
Joined: 3/12/2002
From: Toronto ON Canada
Status: offline

 
RE: RE: RE: getting started with spooky login - 8/22/2002 15:00:15   
Progress and a new question on getting this up and running...

I notice that the diagnostics say that for email CDONTS are detected. I filled in my email address as the administrator trying it both with my name@domain.com address and with my isp address that everything is filtered through. In either case when I press the test email button, I don' t actually receive an email.

When I test the login with another name and email address (forwarded to me) I login okay but no confirmation email arrives.

When I send a group email to active users as a test, I get the message that emails were sent and failed. Sometimes the message says it failed on step 2 and other times on step 1

Any ideas on what to do to get the email function working?

Thanks so much

CW[:j]:)

(in reply to winter)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> getting started with spooky login
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts