[问题] 哪位大侠懂ASP和网页设计的,请帮个忙,谢谢先

iamcool

新手上路
注册
2002-03-11
消息
283
荣誉分数
0
声望点数
0
这是我在网上找到的关于网页密码验证的程序,不工作呀。
 
基本的数据库读写试过没有?是都不好使,还是可以读写数据库只是密码核对不好?
你用ADO还是ODBC?Globel怎么设的,得看看
 
最初由 JTom 发布
基本的数据库读写试过没有?是都不好使,还是可以读写数据库只是密码核对不好?
你用ADO还是ODBC?Globel怎么设的,得看看

database is simply made by Microsoft Access.
I don't know much about ASP and database.
 
Did you have a global.asa in your directory to hold your session variable?
 
最初由 vivian 发布
Did you have a global.asa in your directory to hold your session variable?

No.
Would you give me some details if it is not so complex. thax.
 
Code 没错,查查你的运行环境和SETTINGS

看了一下Code没错,一定是你的SETTING有问题,告我一下你运行的系统及是什么WEB SERVER,你是如何CONGIFURE的.报错的内容是怎么说的?另:这和GLEBAL.ASA 文件没有必然的关系.
 
Re: Code 没错,查查你的运行环境只SETTINGS

最初由 渔歌 发布
看了一下Code没错,一定是你的SETTING有问题,告我一下你运行的系统及是什么WEB SERVER,你是如何CONGIFURE的.另:这和GLEBAL.ASA 文件没有必然的关系.

Thanks a lot, man.

First, i tried it on my computer, WINDOWS2000 Professional, no IIS.
Than, I tried it on the University's server, and i don't know the configuration of it. Maybe the server doesnot support fancy things like ASP.

Bottom line: if i want to try the effect of it on my computer, how should I configurate my computer. Do i need to install IIS? Hope to hear from you soon.
 
First when you want to run ASP you must have IIS work properly. ASP means Active Server Page, You don't have server, how can it run? Then you must create a virtual directory associate with your physical directory(absolute path) in IIS console. Put your .asp file and .mdb file in that directory. Create a global.asa file to holder the global variable such as session variable. use IE to run the asp. URL like http://Severname/Virtual Directory/Filename.asp. I didn't run your code, but if you got every thing above works properly. you will get it. Good luck.
 
问题就出在这了,你没有ASP的运行环境.可以这样再试一下:
1.如想RUN在IIS WEB SERVER上,你的系统环境要求是WIN 2000 SERVER 或WIN 2000 ADVANCE SERVER.把你的有关FILES放在新建的FOLDER下,然后START>PROGRAMMS>ADMINISTRATIVE TOOLS>INTERNET SERVICE ANMAGER, 可以用现成的DEFAULT SITE(PORT 80),然后把HOME DIRECTORY 指到新建的FOLDER下,TYPE HTTP://LOCALHOST/XXXX.ASP, WHERE XXXX.ASP IS THE PAGE NAME.
2.在WIN 98 下,你可以安装MS PERSONAL WEB SERVER( PWS MAY GET FROM MICROSOFT.COM),其它的和上面一样CONFIGURE.
如再报错,把报错的描述COPY给我看.
 
With the help of a friend, i think i got it finally. 渔歌 is right, Thank you.
I also thank everybody who helped me on this question and who regarded this question.
 
后退
顶部