Another Commerce Server Problem

07-03-2002, 09:41 AM
I am creating an ecommerce site based on Microsoft
Reference Architechture V2. It uses pasp files instead of

The problem i am facing is pasp does not able to get the
values from the AppFramework object when i submit the form
using GET method.

Please help me in solving this problem

Dim strCategoryName ' temporary store of the category name
Dim strCatalogName ' temporary storage fo the catalog name

strCatalogName = Application
("MSCSAppFrameWork").RequestString("txtCatalog", Null, , ,
True, True, 0, Null) ' catalog name (required)
strCategoryName = Application
Null, , , True, True, 0, Null) ' category name (optional)

' to browse a catalog, this page requires the catalog name
to be posted to this page.

If IsNull(strCatalogName) Then
Response.Redirect "Index.pasp"
End If

It always redirected to index.pasp as value in
strCatalogName is null. I am specifiyng correct parameters
in the Query string
This is an pasp file

07-03-2002, 11:55 AM
Are you able to retrieve any parameters from the application framework? If you can retrieve propertys from the object that aren't passed in via the query string of your form, then you know that it is working ok, and the problem is with the form - if you can't retrieve any properties at all, then something is wrong with the way you are calling it.

Other than that, I suggest testing
If strCatalogName = "" Then
' redirect
End If
rather than using IsNull. I can safely say I've never used IsNull to test a string value...

07-04-2002, 05:49 AM
It is working with Post method. But it is not retrieving values if i use GET method.

Now if i change the extension of pasp to asp, then it works perfectally fine.

07-04-2002, 06:19 AM
Weird... this leads me to believe that the server is not configured properly to deal with "PASP" files... maybe you should check that out. If all else fails - simply keep it as "ASP".

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum