Ok so i'm not a web designer but I have be handed the company's website to look after, it's crap and I'm working on a new one but in the mean time I still have to maintain what we have.
I needed a user specific download page stating three or four different download options, with the ones they can't access greyed out. To do this I intend on adding an extra column to the _private database which states which they can and can't access and then using this asp code
<%If Session("id")="XXX" Then
Server.Execute("yes.asp")
Else%>
!
<%End If%>
I just need to decided on exectuing the code from another file or including it as a txt and then replace the id for what ever column I like, or something to that effect.
I know this isn't a) the best or b) the most secure method but thats what i'm using for the time being until I can actually learn .asp
Subscribe to:
Post Comments (Atom)
Hmm, not so sure this will work now. The script never actually saves the data from the DB it saves it from the user inputed form.
ReplyDeleteSolved -> http://pauladen.blogspot.com/2010/04/ok-solved.html
ReplyDelete