Commerce Server Problem

sangeet302
06-27-2002, 04:55 AM
I am creating an ecommerce site based on Microsoft Reference Architechture V2. It uses pasp files instead of ASP.

pasp files are preprocessed asp files filteres by XSLISAPI filter.

The problem i am facing is pasp does not able to get the values from the application level AppFramework object.
It is returning null string.

Please help me in solving this problem

ChiefRedBull
06-27-2002, 06:49 AM
I think we're gonna need to see some code in order to pinpoint your problem. Could we see the section that isn't working properly?

sangeet302
06-27-2002, 09:00 AM
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("MSCSAppFrameWork").RequestString("txtCategory", 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


We always redirected to index.pasp.
This is an pasp file

ChiefRedBull
06-27-2002, 11:51 AM
I'm not sure how this is working, but have you tested the contents of strCatalogName to see what they are? Try placing this line in to see...

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

If the string is blank then your call to retrieve it is wrong, which unfortunately, I probably can't help with..

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum