There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Software Development
Tag Cloud
audio blue screen boot bsod computer cpu crash dell desktop driver drivers error excel external hard drive firefox freezes freezing hard drive hardware hijackthis internet internet explorer itunes laptop malware motherboard mouse msn network networking outlook outlook 2007 power printer problem ram router screen slow sound trojan usb virus vista vista 32-bit windows windows vista windows xp winxp wireless
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
ASP complete function reference on the web?


Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
Puritan's Avatar
Senior Member with 242 posts.
 
Join Date: Feb 2001
21-Sep-2003, 02:05 AM #1
ASP complete function reference on the web?
Is there a place where I can search a complete reference of all ASP functions? I'm trying to convert some ASP pages to PHP, but I don't know ASP very well, and there are calls ASP is making whose purpose and function is unknown to me. Unlike www.php.net, www.asp.net didn't seem to have a searchable list of functions, and I couldn't find one successfully on google either. Does anyone know where I can find a list? Is it on asp.net and I just missed it like an idiot? Or another good reference site? Thanks.
Rockn's Avatar
Computer Specs
Distinguished Member with 17,888 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
21-Sep-2003, 11:10 PM #2
ASP.net or plain jane ASP?
Puritan's Avatar
Senior Member with 242 posts.
 
Join Date: Feb 2001
22-Sep-2003, 12:36 AM #3
Plain jane ASP. I don't know even its most basic function calls, but I need to read it, not write it, so a searchable complete function index, as opposed to an ASP-for-beginners guide, is what I need...
Rockn's Avatar
Computer Specs
Distinguished Member with 17,888 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
22-Sep-2003, 10:10 AM #4
Function calls are based on what function they are trying to add to their application. There is no set list of functions in ASP as it is just a scripting language not a full blown programming language. If you are looking for sytax or something like that you might be able to round that up that fairly easily. Is there an example of a function call you are attempting to convert?
__________________
**Disclaimer** Anything below this line ^ is part of my signature for those that may be confused

Sadly, there are no integers on this scale, so your gangly adolescent attempt to be clever has proved futile....Dieter

I have the right "NOT" to be tolerant of others because they are different, weird, or tick me off.....Parody of Andy Rooney

There are no stupid questions, but there are a LOT of inquisitive idiots.
Puritan's Avatar
Senior Member with 242 posts.
 
Join Date: Feb 2001
23-Sep-2003, 11:14 AM #5
Well (and this might be very basic ASP, please bear with me ):

Code:
Set DBConn = Server.CreateObject("ADODB.Connection")
DBConn.Open Application("MS_ConnectionString")
This opens a connection to the database, but the example ASP I've seen has things like DBConn.Open("database", "login", "password", otherstuff). Application("MS_ConnectionString"), I presume, retrieves a string that specifies what database to open, but I can't find what the Application function does (or where they're getting this string either, but that's another story).

Later:

Code:
pageThis = trim(Request("pageThis"))
Again, the things I've seen imply that Request is a global object with public fields for things like post inputs and stuff, but I haven't seen it as a function (and it doesn't seem to be operating on the db so much as being an independent function)...

And then...

Code:
If Session("UID") = "" Then
	'expire now
	If intExpire = 0 Then
		Response.Redirect("/")
	'redirect to login page
	Else
		Response.Redirect("/member/LogIn.asp?strURL=" & strURL)
	End If
End If
I read there was no exact equivalent of "Session" in php... how would I translate this?

The pages I have to do would seem to be pretty basic (albeit poorly written) ASP, but as I have no knowledge of ASP at all and no info as to the actual underlying data structures (i.e. I have to reverse engineer how everything works from the ASP, I don't actually know how the databases and stuff work), it's annoying. I'm sure other mysteries besides these functions will pop up later, however, so requesting help on individual things will probably result in me posting all of the pages in their entirety which is why a complete index, where I can search for things like Application, Request, Session, and whatever else comes up, would be great. Anyway, any help is appreciated, thanks.
Rockn's Avatar
Computer Specs
Distinguished Member with 17,888 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
23-Sep-2003, 11:57 AM #6
Those aren't function calls they are probably stored procedures on a SQL server. I am assuming that is what they are using for a back end. Session variables can be set in an include file and I bet that is where most of your application variables, etc are hiding from you. Look in a global.asa file or in any include files specified at the beginning of your pages, they usually load before any other code.
__________________
**Disclaimer** Anything below this line ^ is part of my signature for those that may be confused

Sadly, there are no integers on this scale, so your gangly adolescent attempt to be clever has proved futile....Dieter

I have the right "NOT" to be tolerant of others because they are different, weird, or tick me off.....Parody of Andy Rooney

There are no stupid questions, but there are a LOT of inquisitive idiots.
Puritan's Avatar
Senior Member with 242 posts.
 
Join Date: Feb 2001
23-Sep-2003, 11:43 PM #7
Ah, you're right, they are hiding from me in a global.asa file and seem to be string constants. Is global.asa something that's always just loaded by all asp pages in the same directory even without a specific include statement (the asp page I was editing never made mention of it amongst the files it was including, which is why I wasn't looking for it)? Okay, I'm going to go with that and try to convert that through to PHP... thanks. (Hopefully, I'll be able to do this without running into any more snags... )
Rockn's Avatar
Computer Specs
Distinguished Member with 17,888 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
24-Sep-2003, 10:47 AM #8
The global.asa is for setting all of the application variables and I believe it is used as kind of a session variable thing for the entire application. I personally never use it but I have one application in the office that does in a limited way.
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 03:19 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.