Click here to Skip to main content
15,891,136 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionmultiselect listbox - set selections using delimeted string Pin
ublend9-Jul-09 13:02
ublend9-Jul-09 13:02 
AnswerRe: multiselect listbox - set selections using delimeted string Pin
www.Developerof.NET9-Jul-09 20:52
www.Developerof.NET9-Jul-09 20:52 
GeneralRe: multiselect listbox - set selections using delimeted string Pin
ublend10-Jul-09 8:41
ublend10-Jul-09 8:41 
QuestionLink protection Pin
pforu19-Jul-09 11:26
pforu19-Jul-09 11:26 
AnswerRe: Link protection Pin
ublend9-Jul-09 13:19
ublend9-Jul-09 13:19 
GeneralRe: Link protection Pin
pforu19-Jul-09 14:47
pforu19-Jul-09 14:47 
GeneralRe: Link protection Pin
Gary Stafford9-Jul-09 16:08
Gary Stafford9-Jul-09 16:08 
GeneralRe: Link protection Pin
ublend10-Jul-09 8:39
ublend10-Jul-09 8:39 
how are you authenticating your users? - If you are using a database to store their userID and password, you could use a script like this to signify that they are authenticated:
----use your database connection then check the form data against the data in your admin table like:

Dim myPW, username,mystatus
username=request("username")
myPW=request("myPW")
Set RSlog = Server.CreateObject("ADODB.Recordset")
RSlog.Open "Select * from Admin where username='"&myLogin&"' and   password='"&myPW& "'", Conn, 2, 2

If not RSLog.eof or not RSLOG.eof then
myStatus="IN"
end if

then lower in my page, where I want active links or not, I would code something like this:

Response.Write ("<a href="yourURLorFilepath/" & RS("filename")& """>Link</a>")
else
response.write("link not available")
end if

Hope that helps. Happy coding

ublend

GeneralRe: Link protection Pin
pforu110-Jul-09 16:36
pforu110-Jul-09 16:36 
QuestionWord Document Automation : Need Control after its opened Pin
Sandumone9-Jul-09 10:05
Sandumone9-Jul-09 10:05 
AnswerRe: Word Document Automation : Need Control after its opened Pin
David Mujica9-Jul-09 10:23
David Mujica9-Jul-09 10:23 
QuestionBrowser compatability Issues Pin
VivekUtsa9-Jul-09 8:00
VivekUtsa9-Jul-09 8:00 
AnswerRe: Browser compatability Issues Pin
Jeremy Likness9-Jul-09 8:24
professionalJeremy Likness9-Jul-09 8:24 
Questionproblem in getting the count of listitems in listbox javascript Pin
nainakarri9-Jul-09 5:20
nainakarri9-Jul-09 5:20 
AnswerRe: problem in getting the count of listitems in listbox javascript Pin
Blue_Boy9-Jul-09 6:14
Blue_Boy9-Jul-09 6:14 
QuestionDataBind having error with null values Pin
dreamaway8209-Jul-09 5:15
dreamaway8209-Jul-09 5:15 
AnswerRe: DataBind having error with null values Pin
Zafar A khan 9-Jul-09 19:14
professionalZafar A khan 9-Jul-09 19:14 
GeneralRe: DataBind having error with null values [modified] Pin
dreamaway82010-Jul-09 4:32
dreamaway82010-Jul-09 4:32 
QuestionHow to reset a counter on database table Pin
VivekUtsa9-Jul-09 5:00
VivekUtsa9-Jul-09 5:00 
AnswerRe: How to reset a counter on database table Pin
DoctorMick9-Jul-09 5:04
DoctorMick9-Jul-09 5:04 
GeneralRe: How to reset a counter on database table Pin
VivekUtsa9-Jul-09 5:47
VivekUtsa9-Jul-09 5:47 
GeneralRe: How to reset a counter on database table Pin
Manas Bhardwaj9-Jul-09 5:59
professionalManas Bhardwaj9-Jul-09 5:59 
GeneralRe: How to reset a counter on database table Pin
VivekUtsa9-Jul-09 6:14
VivekUtsa9-Jul-09 6:14 
GeneralRe: How to reset a counter on database table Pin
N a v a n e e t h9-Jul-09 17:45
N a v a n e e t h9-Jul-09 17:45 
GeneralRe: How to reset a counter on database table Pin
VivekUtsa11-Jul-09 6:03
VivekUtsa11-Jul-09 6:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.