Solved

ASP  HEEEEELLLLLP

Posted on 1998-11-07
2
139 Views
Last Modified: 2010-04-09
I am having a problem pasing a query string to an asp page created with the front page asp wizard..

See the followin link

http://lorell.aiu.net/test
0
Comment
Question by:acoker
2 Comments
 
LVL 28

Expert Comment

by:sybe
ID: 1839426
the url gives: HTTP/1.0 403 Access Forbidden

please describe your problem with some more detail
0
 
LVL 11

Accepted Solution

by:
mouatts earned 200 total points
ID: 1839427
Firstly there is a patch that you need to apply to your server that is available from microsoft. This is a security patch that prevents people from getting at the content of you ASP pages.

But as you haven't got it I may be able to help. Two points firstly the line
Conn.Open Session("jokes")
assumes that a session variable has been created called jokes has been created within the start_session subroutine within the global.asa file. If this variable has been created then it means that the string does not point to a valid ODBC DSN or a Driver for your database.

If you get this right you have a problem with the line
Set RS = Conn.Execute(SQL)
as no such variable (SQL) has been created and therefore you will be passing a null string through to the driver.

The interesting thing is that I too got the 403 code initially but after I downloaded your script and tried again the problem resolved. I can only thing that this is something to do with the bug in your program and IIS play up a bit.

Steve
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Do you want to insert HTML5 video into your site? This is the tutorial how to do so. What are the main advantages of HTML5 video? 1) Have good compression, good image quality, and low decode processor use. 2) It is royalty-free 3) It is easi…
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now