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

 

ASP for preschoolers

 
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 >> ASP for preschoolers
Page: [1]
 
Tressa

 

Posts: 304
From: Iowa USA
Status: offline

 
ASP for preschoolers - 12/7/2003 19:27:17   
OK - I can create an asp file using a text editor. Can I save this with the extension .asp using a text editor?

Then do I import this file into the folder in FrontPage where I want to use it and/or is it just cut and paste into to top of every page I want to apply it to?

Can I apply the asp script to a whole folder at a time without having to insert code into every single page?

I am on windows home xp. I can certainly create an .asp file in my text editor. But what happens after that? What can/cannot do with the .asp script on my computer without IIS installed? (I understand IIS is needed for something for .asp - what that something does I don't know - I just know that windows XP home does not and cannot get it)

Does .asp get to my host via publishing or do I have to FTP it?
BeTheBall

 

Posts: 6354
Joined: 6/21/2002
From: West Point Utah USA
Status: offline

 
RE: ASP for preschoolers - 12/7/2003 20:09:38   
The only limitation of XP Home is testing. You cannot test the page. You can include it in your web and publish it just like your html pages. You can create the page with a text editor or with FP, either way. I create most of my asp pages live on the server so that I can text (I am another unhappy XP Home owner). If you want to use the script on multiple pages, you will want to call it as an include. In essence what that means is you save the script as its own file, say script.asp. Then you include that file on each page you want to use it. The code for include is something like this:

<!--#include file="script.asp"-->

One thing you should be aware of, if you are going to include a .asp page, then the page you include it on must also be a .asp page. It won't work on a .htm or .html page.

_____________________________

Duane

Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.

(in reply to Tressa)
Tressa

 

Posts: 304
From: Iowa USA
Status: offline

 
RE: ASP for preschoolers - 12/7/2003 22:29:19   
First of all, if this helps, I am utilizing the asp for password protected pages - many of them.

So, say I open a page that is supposed to be an asp page...can I view it in FP and otherwise make changes to it?

As far as this testing goes, could I just check my site via the internet and see that its working. You're just checking to see that the function is carried out correctly?

If I use the script as an include the applicable pages can remain htm pages?

What do you mean "One thing you should be aware of, if you are going to include a .asp page, then the page you include it on must also be a .asp page. It won't work on a .htm or .html page. " What would an .asp page be for?

Thank you so much - Tressa

(in reply to BeTheBall)
BeTheBall

 

Posts: 6354
Joined: 6/21/2002
From: West Point Utah USA
Status: offline

 
RE: ASP for preschoolers - 12/8/2003 0:21:06   
So, say I open a page that is supposed to be an asp page...can I view it in FP and otherwise make changes to it?

Yes

As far as this testing goes, could I just check my site via the internet and see that its working. You're just checking to see that the function is carried out correctly?

Yes

If I use the script as an include the applicable pages can remain htm pages?

No. That's what I mean with what I said below. You cannot include a .asp page on a .htm or .html page. The opposite can be done, i.e, you can include a .htm page on a .asp page.

What do you mean "One thing you should be aware of, if you are going to include a .asp page, then the page you include it on must also be a .asp page. It won't work on a .htm or .html page. " What would an .asp page be for?

ASP means "Active Server Page", this means that the script is run on the server. HTM pages are simply downloaded and then run on the client's PC. Does that make sense?

< Message edited by betheball -- 12/8/2003 12:21:53 AM >


_____________________________

Duane

Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.

(in reply to Tressa)
TonyT

 

Posts: 188
Joined: 9/30/2003
From: Vancouver, WA
Status: offline

 
RE: ASP for preschoolers - 12/8/2003 2:30:44   
Actually, you can write and test asp with great power on XP Home.

What you need is Microsoft Web Matrix at http://www.asp.net/Default.aspx?tabindex=0&tabid=1

and then get Microsoft SQL Server Service Manager. Google it; sorry, lost the link.

< Message edited by TonyT -- 12/7/2003 11:32:07 PM >


_____________________________

Site Build It Success. As Real As It Gets.

(in reply to BeTheBall)
Tressa

 

Posts: 304
From: Iowa USA
Status: offline

 
RE: ASP for preschoolers - 12/8/2003 2:49:22   
Good stuff - Thank you!

(in reply to TonyT)
Spooky

 

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

 
RE: ASP for preschoolers - 12/8/2003 9:38:23   
Errr... are you sure? asp.net and asp are different beasts, I tried once before and it wouldnt do it

_____________________________

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

§þ:)


(in reply to Tressa)
Giomanach

 

Posts: 6090
Joined: 11/19/2003
From: England
Status: offline

 
RE: ASP for preschoolers - 12/8/2003 9:48:38   
Spooky is right, ASP and ASP.NET don't mix, it's like mixing acid and potassium, everything goes bang, and doesn't work. If you using ASP, stick with either ASP or ASP.NET DO NOT MIX THEM, i found out the hard way :)

< Message edited by Giomanach -- 12/8/2003 2:49:28 PM >


_____________________________




(in reply to Spooky)
Spooky

 

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

 
RE: ASP for preschoolers - 12/8/2003 13:37:25   
I didnt mean 'dont mix' they can be made to play nicely together, but the matrix server uses the net framework, I dont believe it accesses the asp.dll at all, thus wont specifically serve asp pages.

_____________________________

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

§þ:)


(in reply to Giomanach)
Giomanach

 

Posts: 6090
Joined: 11/19/2003
From: England
Status: offline

 
RE: ASP for preschoolers - 12/9/2003 3:26:54   
A while back I tried to put ASP and ASP.net together (separate pages) and the whole thing went down the pan, thats why I recommend sticking with one or the other, not using both

_____________________________




(in reply to Spooky)
Tressa

 

Posts: 304
From: Iowa USA
Status: offline

 
RE: ASP for preschoolers - 12/9/2003 8:03:32   
OK now I'm really confused - but let's just leave it as don't mix the two.

Remember - I'm on the preschool level! I want to resay this in my own words and tell me if I'm right:

I tell my server what pages I want protected by designating that on the server. In my local web I create a subweb full of pages I wish to protect (as designated to my server). ASP is simply the script that, when applied to each of the protected pages, serves as a doorway as to who can and cannot access those pages. (PHP and MySQL do the same thing as ASP).

I think I get so mixed up because I read about people using FP to provide security to pages (a wizard?) - is this a case that there's more than one way to skin a cat? And which is the best way?

In the case of a hidden folder, who is it hidden from? - is it the same as protection?

< Message edited by Tressa -- 12/9/2003 8:42:42 AM >

(in reply to Giomanach)
BeTheBall

 

Posts: 6354
Joined: 6/21/2002
From: West Point Utah USA
Status: offline

 
RE: ASP for preschoolers - 12/9/2003 8:53:26   
Not sure you mentioned that what you were simply looking to protect pages. If that is the case, I have 6 words for you:

Spooky Login
Spooky Login
Spooky Login

Will be the best $29.95 you could possibly spend (No, I am not a paid endorser, just a satisfied customer). If you try to do the protection yourself, you will spend countless hours.

And guess what? Spooky login already had built-in a form allowing you to email all registered users! You will get all the support you need. Look into it here:

http://www.outfront.net/spooky/login.htm

_____________________________

Duane

Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.

(in reply to Tressa)
Tressa

 

Posts: 304
From: Iowa USA
Status: offline

 
RE: ASP for preschoolers - 12/9/2003 9:03:34   
I believe everything I read on OUTFRONT and purchased the Spooky Login yesterday, so am trying to wade through that. I just thought that what I posted above, I have to do anyway...YES?NO?

When I have questions on the Spooky Login is there a special place for that, or just come to the ASP forum?

When I am designating pages within my subfolder as ASP, how do I link the navigation bar? I will have a navigation bar with htm pages on and password protected pages on.

(in reply to BeTheBall)
BeTheBall

 

Posts: 6354
Joined: 6/21/2002
From: West Point Utah USA
Status: offline

 
RE: ASP for preschoolers - 12/9/2003 10:06:58   
I believe everything I read on OUTFRONT and purchased the Spooky Login yesterday, so am trying to wade through that. I just thought that what I posted above, I have to do anyway...YES?NO?

You "designate" a page as protected by including a protection script on that page. The script is usually 2-3 lines and simply authenticates the user or sends the user to the login page. Spooky included some sample protection scripts with his product. The script will only function on a page that has a .asp extension. However, any page can have its extension changed from .htm to .asp and still function as intended. For example, you may have a page with only html coding, no scripting and still name it mypage.asp and it will work just the same as mypage.htm. Make sense?

When I have questions on the Spooky Login is there a special place for that, or just come to the ASP forum?

Outfront Product Support
When I am designating pages within my subfolder as ASP, how do I link the navigation bar? I will have a navigation bar with htm pages on and password protected pages on.

You can just drag them in the same way you add .htm pages.

_____________________________

Duane

Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.

(in reply to Tressa)
Tressa

 

Posts: 304
From: Iowa USA
Status: offline

 
RE: ASP for preschoolers - 12/9/2003 10:35:53   
so asp scripting is the door that let's people in to a certain page?

What's the point of creating a subweb and sticking an asp page within if I can put asp on any old page?

(in reply to BeTheBall)
Tressa

 

Posts: 304
From: Iowa USA
Status: offline

 
RE: ASP for preschoolers - 12/9/2003 12:02:22   
hmmm...

(edited)
hmmm...

< Message edited by Tressa -- 12/9/2003 6:16:09 PM >

(in reply to Tressa)
Tressa

 

Posts: 304
From: Iowa USA
Status: offline

 
RE: ASP for preschoolers - 12/9/2003 18:21:01   
I had asked this is an earlier post, but didn't get a clear answer. Is there a way to password protect a whole directory without inserting asp code onto each page, and why, as mentioned above, do I have to create a subweb, when I could just insert asp into any page on my website and have it function?

(in reply to Tressa)
BeTheBall

 

Posts: 6354
Joined: 6/21/2002
From: West Point Utah USA
Status: offline

 
RE: ASP for preschoolers - 12/9/2003 23:50:03   
so asp scripting is the door that let's people in to a certain page?

Sorry Tress, thought I had answered. Not sure what happened. ASP does a zillion different things. One thing it can do is work with a database to provide protection to pages.

What's the point of creating a subweb and sticking an asp page within if I can put asp on any old page?

A subweb would still need some sort of protection scheme. So to answer your question, there isn't much point to putting your protected pages in a subweb. Unless of course you are on an intranet, but from your posts it appears you are going to be on the internet, right? My web work is done mostly at work on an intranet and I can use subwebs to make pages available only to certain user groups. Not really an option on the internet.

_____________________________

Duane

Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.

(in reply to Tressa)
Tressa

 

Posts: 304
From: Iowa USA
Status: offline

 
RE: ASP for preschoolers - 12/10/2003 1:38:32   
OK last question - can I password protect a whole slug of pages at one time, rathar than individually with asp?

Whoops! I am sorry, you have already responded with your input on includes up above - I'm not missing any other way, am I?

OK, THIS is the last question: Can you explain to me why I would create a protected directory on my server VS the password protection I get from including ASP in my pages? Do I do both, one or the other? Help!

< Message edited by Tressa -- 12/10/2003 2:13:25 AM >

(in reply to BeTheBall)
Spooky

 

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

 
RE: ASP for preschoolers - 12/10/2003 2:12:05   
With asp based protection, you need to do it on a page by page basis. (unlike server based protection)
Depending on your page setup, you could do a find a find and replace of the <html> tag :-)

_____________________________

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

§þ:)


(in reply to Tressa)
Giomanach

 

Posts: 6090
Joined: 11/19/2003
From: England
Status: offline

 
RE: ASP for preschoolers - 12/10/2003 3:48:16   
If you going to try and password protect a whole subweb type thing, the easiest way to do it, but not the most secure is to password protect the main page of the subweb, and leave the rest unprotected, but do not publish links to the other pages on your main web.

It's easier to have a subweb called "Members" and the main access page is "login.htm" this leads to "members.asp" which has all the members links on it

It should be simple, if you need a hand, youknow where I am!

_____________________________




(in reply to Spooky)
Tressa

 

Posts: 304
From: Iowa USA
Status: offline

 
RE: ASP for preschoolers - 12/10/2003 8:48:52   
OK I really do understand the concept of main page.htm and members.asp, but back to my last question -

What is the difference between having a protected directory on your server and then password protecting your pages via asp - am I talking about two different ideas - please set me straight!

I'm adding this: Spooky said that asp needs to be done page by page as opposed to server side. I need asp for what I want to do (let people login to protected pages) so that is a given that I will be using the asp- I am trying to get my brain around designating a protected directory on your server - I've read about it in other threads - do I not need it if I'm using ASP, or do I put my database there...what would I use a protected directory for? More HELP!

< Message edited by Tressa -- 12/10/2003 9:12:52 AM >

(in reply to Giomanach)
Giomanach

 

Posts: 6090
Joined: 11/19/2003
From: England
Status: offline

 
RE: ASP for preschoolers - 12/10/2003 11:12:04   
I think protecting directories rather than pages involves cgi etc. ASP is used for individual pages etc, not directories, where's Spooky when you need him???

_____________________________




(in reply to Tressa)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> ASP for preschoolers
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