Hi snowboardr,
Request.Form("myform") retrieves value only from a form.
But, Request("myform") retrieves value either from a form or a query string(which ever is passed).
I do think I am true.
*********************
Sincerely, rdsmadhu.
*********************
But 777axa, each user has his own username which is unique.
if you call session("uid") it returns the username of the current user and not somebody else. this is valid in any page until the session is timed out.
*********************
Sincerery rdsmadhu.
*********************
Make the query something like this.
sql="select * from news order by id desc"
It will give you all the records with the latest record first.
Hope it helps you.
*********************
Sincerery rdsmadhu.
*********************
hi axa777,
I got your problem.You do this.
First show the login page where a user enters his uid and pwd. On submit the action should go to an intermediate page which checks the authenticity of the user. If u find the user valid then only give hime the session("uid")=myuid and...
Hello fireburner69 ,
I am confidant that You will find a solution to the problem if you use the group by clause in the sql query. You can easily find the number of news each one has, and you can take the appropriate action.
If u still find trouble,let me know so that i can help you...
If you only want the file name and not the directory name then split the complete path of the file-textbox using the Split() function and on the basis of "/" character. Then take the last token. this will give you only the name of the file along with its extension.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.