|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
password protected area
I need help with a small project. I am designing a site formyself amd my alumni where old class mates can log into a members area.
How can i do this with access and asp or jsp? thanks quest |
|
#2
|
||||
|
||||
|
You can do this with ASP, running on a IIS. There are a few articles about it on this very site. Have a quick search...Here's what I found:
http://www.devarticles.com/c/a/ASP/...ervices-in-ASP/ http://www.devarticles.com/c/a/ASP/...-area-with-ASP/ |
|
#3
|
|||
|
|||
|
Thanks man!
I do appreciate you....thanks for the help..am digesting the stuff now....am not familiar with sql ,so i have to take a good look at it now.
i have a question on the code available on creating a database, do i have to create those fields myself? or does it do it itself? tx. Quote:
|
|
#4
|
||||
|
||||
|
Creating the DB isn't too hard - have a stab at it (i think they run through it in the articles? can't remember)... I'll give you a hand if u need one
|
|
#5
|
|||
|
|||
|
Hmmnnn..I need all the help i can get.I do appreciate your help.
Thanks Quote:
|
|
#6
|
||||
|
||||
|
Since your using Access for your DB, it'll makes things much easier. It has wizards, and GUI's, you won't need to know much SQL. You can create the queries in Access then just call the name of that query in your ASP. But I can't do it all for you.
![]() |
|
#7
|
|||
|
|||
|
Txtumpy, you've been of great help. will do that and let u know if i have any probs.
How can i prevent vistors from downloading my media file from my site? I stream church sermons from my web and dont want visitors to download these files. Tx Quote:
|
|
#8
|
||||
|
||||
|
Protecting media is a little tricky. You place the media in a non-web user accessible area, which the ASP script can access, then stream that binary data to the users browser, rather than linking directly to the media file. Here's the code:
Code:
Response.Buffer = False
'--- Check that the user is a member
'---Create a stream object
Dim objStream
Set objStream = Server.CreateObject("ADODB.Stream")
objStream.Type = adTypeBinary
objStream.Open
objStream.LoadFromFile(your physical file location here)
'Output the contents of the stream object
Response.ContentType = strContentType
Response.AddHeader "Content-Disposition", "inline; filename=" & he file name here
Response.AddHeader "Content-Size", objStream.Size
Response.BinaryWrite objStream.Read
'Clean up....
objStream.Close
Set objStream = Nothing
|
|
#9
|
|||
|
|||
|
Chmod
Hi Pal,
how do i chmod a file? I need to set some parameters for a file before i can read and write to it on my server. Quote:
|
|
#10
|
|||
|
|||
|
buffering....loading...
Pls can anyone see to my problem with my videofile buffering and wasting precious time! Can i possibly preload the video files so that it comes up as soon as it is needed?
|
![]() |
| Viewing: Dev Articles Community Forums > Databases > Microsoft SQL Server > password protected area |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|