473,408 Members | 1,973 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

ASP ecommerce help

Hi All

I seem to be getting to grips with the whole ASP DB ecommerce thing, but
there are certain aspects that my knowledge is really thin. If poss, could
you please advise or point me in the right direction re the below:

1) I use the getrows feature all the time now for recordsets rather than
doing a DO ... LOOP recurse of the records.

At present this works great with the data I'm working with, but is there a
possibility that a getrows call can hog resources to the point of the
collapse where a DO .. LOOP recurse will never cause this?

I'm not dealing with thousands of recs/rows, but I'd like to know if it is
the norm for devs to use the getrows over the old recurse.

2) Because I'm checking a cookie on every page of my site, I believe I have
to use the Response.Buffer = true on each page (right??). This seems to be
fine if my server isn't being hogged, but middle of the day and evening
traffic means that as there is a lot of ASP work to be done on my pages then
the Response.Buffer command can sometimes cause timeouts on my pages. Do I
have to use this command when using cookies and if so, whats the best way to
eliminate the timeout issue? I know this is pretty generic question, but I
want to get a feel for how you tackle this.

3) My final question may be more addressed to UK users as it deals with the
aspect of processing orders once they have been received on the secure
server. At the moment, the details are entered via a https page and stored
in a MySQL db, a notification email is sent to the merchant (no ccard
details sent), the merchant retrieves the order from the MySQL db via a
hidden https page, prints the order, processes it on their pdq and then
confirms that the order has been placed. This confirmation obliterates most
of the credit card details in the MySQL DB so that they cannot be retrieved
again.

I know WorldPay and SecureTrading offer a straight to the bank service, but
sometimes the goods might not be able to shipped so the merchant can be
constantly losing out if they have to credit a transaction whereby these
companies still take a % of the original inv and then the credit.

Can somebody advise me or point me in the direction of a forum/newsboard
where like-minded devs are doing this day-in day-out.

Thanks

Laphan
Jul 19 '05 #1
6 1761
Laphan wrote:
Hi All

I seem to be getting to grips with the whole ASP DB ecommerce thing,
but there are certain aspects that my knowledge is really thin. If
poss, could you please advise or point me in the right direction re
the below:

1) I use the getrows feature all the time now for recordsets rather
than doing a DO ... LOOP recurse of the records.

At present this works great with the data I'm working with, but is
there a possibility that a getrows call can hog resources to the
point of the collapse where a DO .. LOOP recurse will never cause
this?
No. Why do you have this doubt? Why do you think using DO...LOOP would use
fewer resources than GetRows?

I'm not dealing with thousands of recs/rows, but I'd like to know if
it is the norm for devs to use the getrows over the old recurse.
It's my normal technique.

2) Because I'm checking a cookie on every page of my site, I believe
I have to use the Response.Buffer = true on each page (right??).
Why? I don't recall buffering having anything to do with checking cookies.
This seems to be fine if my server isn't being hogged, but middle of
the day and evening traffic means that as there is a lot of ASP work
to be done on my pages then the Response.Buffer command can sometimes
cause timeouts on my pages.
When? Do you have a repro of a situation where a timeout will occur when
using buffering that will not occur when not using buffering?
Do I have to use this command when using
cookies and if so, whats the best way to eliminate the timeout issue?
I know this is pretty generic question, but I want to get a feel for
how you tackle this.


I don't do ecommerce, but I don't remember ever deliberately turning
buffering off.

Bob Barrows

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 19 '05 #2
> 3) My final question may be more addressed to UK users as it deals with
the
aspect of processing orders once they have been received on the secure
server. At the moment, the details are entered via a https page and
stored
in a MySQL db, a notification email is sent to the merchant (no ccard
details sent), the merchant retrieves the order from the MySQL db via a
hidden https page, prints the order, processes it on their pdq and then
confirms that the order has been placed. This confirmation obliterates
most
of the credit card details in the MySQL DB so that they cannot be
retrieved
again.
we use an order status and use the database instead of a cookie to save a
cart, in this way you get better basket statistics so the shop owner can see
what items are added to the basket but never bought. it also helps if theres
a problem because you can backtrack the basket items to find out where the
system failed. mort thinngs you can do with this is an order processing
report for a shopper so they can see that the cc has been processed ready
for dispatch (we also have an "item sent" flag). you also get a running
total of all sales etc and other reports which is usefull stuff for when you
need to re-develop the system.

I know WorldPay and SecureTrading offer a straight to the bank service,
but
sometimes the goods might not be able to shipped so the merchant can be
constantly losing out if they have to credit a transaction whereby these
companies still take a % of the original inv and then the credit.
try www.protx.com if you do under 1000 sales a quarter its only £20 per
month flat fee with over this amount being only 10p per transaction, no
setup fees, no other monthly charges.
Can somebody advise me or point me in the direction of a forum/newsboard
where like-minded devs are doing this day-in day-out.


mark
Jul 19 '05 #3
On Sat, 4 Sep 2004 14:32:30 +0100, "Laphan" <ne**@DoNotEmailMe.co.uk>
wrote:
1) I use the getrows feature all the time now for recordsets rather than
doing a DO ... LOOP recurse of the records.

At present this works great with the data I'm working with, but is there a
possibility that a getrows call can hog resources to the point of the
collapse where a DO .. LOOP recurse will never cause this?
Doesn't make much sense, GetRows consumes fewer resources, depending
on what you actually are coding inot your loop.
I'm not dealing with thousands of recs/rows, but I'd like to know if it is
the norm for devs to use the getrows over the old recurse.
Norm is to use the process appropriate to the task at hand. Which may
mena either one.
2) Because I'm checking a cookie on every page of my site, I believe I have
to use the Response.Buffer = true on each page (right??). This seems to be
fine if my server isn't being hogged, but middle of the day and evening
traffic means that as there is a lot of ASP work to be done on my pages then
the Response.Buffer command can sometimes cause timeouts on my pages. Do I
have to use this command when using cookies and if so, whats the best way to
eliminate the timeout issue? I know this is pretty generic question, but I
want to get a feel for how you tackle this.
Best is not to use cookies. :)
3) My final question may be more addressed to UK users as it deals with the
aspect of processing orders once they have been received on the secure
server. At the moment, the details are entered via a https page and stored
in a MySQL db, a notification email is sent to the merchant (no ccard
details sent), the merchant retrieves the order from the MySQL db via a
hidden https page, prints the order, processes it on their pdq and then
confirms that the order has been placed. This confirmation obliterates most
of the credit card details in the MySQL DB so that they cannot be retrieved
again.
You're still storing credit card data, whether for short time or
longer really isn't factor.
I know WorldPay and SecureTrading offer a straight to the bank service, but
sometimes the goods might not be able to shipped so the merchant can be
constantly losing out if they have to credit a transaction whereby these
companies still take a % of the original inv and then the credit.
Those are the choices to make in eCommerce.
Can somebody advise me or point me in the direction of a forum/newsboard
where like-minded devs are doing this day-in day-out.


How about simply using a commercial canned product to do this? One
that's proven over time and secure?

Jeff
Jul 19 '05 #4
"Laphan" wrote in message news:41**********@127.0.0.1...
: 2) Because I'm checking a cookie on every page of my site, I believe I
have
: to use the Response.Buffer = true on each page (right??).

No, it is not required. However, if you want to put the cookie anywhere on
your page then Response.Buffer = True is required.
http://www.powerasp.com/content/code...ts/cookies.asp

This seems to be
: fine if my server isn't being hogged, but middle of the day and evening
: traffic means that as there is a lot of ASP work to be done on my pages
then
: the Response.Buffer command can sometimes cause timeouts on my pages. Do
I
: have to use this command when using cookies and if so, whats the best way
to
: eliminate the timeout issue? I know this is pretty generic question, but
I
: want to get a feel for how you tackle this.

Response.Buffer shouldn't cause timeouts. Define 'a lot of ASP work'.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Jul 19 '05 #5

Roland Hall <nobody@nowhere> wrote in message
news:ev**************@TK2MSFTNGP15.phx.gbl...
"Laphan" wrote in message news:41**********@127.0.0.1...
: 2) Because I'm checking a cookie on every page of my site, I believe I
have
: to use the Response.Buffer = true on each page (right??).

No, it is not required. However, if you want to put the cookie anywhere on
your page then Response.Buffer = True is required.
http://www.powerasp.com/content/code...ts/cookies.asp

This seems to be
: fine if my server isn't being hogged, but middle of the day and evening
: traffic means that as there is a lot of ASP work to be done on my pages
then
: the Response.Buffer command can sometimes cause timeouts on my pages. Do
I
: have to use this command when using cookies and if so, whats the best way
to
: eliminate the timeout issue? I know this is pretty generic question, but
I
: want to get a feel for how you tackle this.

Response.Buffer shouldn't cause timeouts. Define 'a lot of ASP work'.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Hi Guys

Thanks for the feedback.

With regard to mark's valued comments, I store most of the basket work in
the db, but in order for me to keep a track of whether the user is still
there (especially when moving between a secure site and a non-secure site
which are on different domains) is really hard without sessions and cookies.
In fact this part of my site brought me to tears trying to figure it out.

Rgds

Laphan

Jul 19 '05 #6
"Laphan" wrote in message news:41**********@127.0.0.1...
:
: Roland Hall <nobody@nowhere> wrote in message
: news:ev**************@TK2MSFTNGP15.phx.gbl...
: "Laphan" wrote in message news:41**********@127.0.0.1...
:: 2) Because I'm checking a cookie on every page of my site, I believe I
: have
:: to use the Response.Buffer = true on each page (right??).
:
: No, it is not required. However, if you want to put the cookie anywhere
on
: your page then Response.Buffer = True is required.
: http://www.powerasp.com/content/code...ts/cookies.asp
:
: This seems to be
:: fine if my server isn't being hogged, but middle of the day and evening
:: traffic means that as there is a lot of ASP work to be done on my pages
: then
:: the Response.Buffer command can sometimes cause timeouts on my pages. Do
: I
:: have to use this command when using cookies and if so, whats the best way
: to
:: eliminate the timeout issue? I know this is pretty generic question, but
: I
:: want to get a feel for how you tackle this.
:
: Response.Buffer shouldn't cause timeouts. Define 'a lot of ASP work'.
:
: --
: Roland Hall
: /* This information is distributed in the hope that it will be useful, but
: without any warranty; without even the implied warranty of merchantability
: or fitness for a particular purpose. */
: Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
: WSH 5.6 Documentation -
http://msdn.microsoft.com/downloads/list/webdev.asp
: MSDN Library - http://msdn.microsoft.com/library/default.asp
:
:
: Hi Guys
:
: Thanks for the feedback.
:
: With regard to mark's valued comments, I store most of the basket work in
: the db, but in order for me to keep a track of whether the user is still
: there (especially when moving between a secure site and a non-secure site
: which are on different domains) is really hard without sessions and
cookies.
: In fact this part of my site brought me to tears trying to figure it out.
:
I'm using cookies to track the user.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Jul 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Miguel Dias Moura | last post by:
Hello, in 2 months i will create an eCommerce web site in ASP.net. I have been creating web sites in Flash, ASP, ASP.net and PHP for quite sometime. However i never created an eCommerce web...
0
by: VB Programmer | last post by:
I installed IBuySpy ECommerce app and customized an ecommerce site. Now I want to make a 2nd ECommerce app, based on the Starter Kit. But, when I run Setup it asks if I want to repair or...
6
by: J Rieggle | last post by:
Hi there, I am stuck on a problem that relates to eCommerce sites, but isnt ASP.NET specific (sorry). The ecommerce site is working in the UK, and products will be sold in pounds stirling. ...
7
by: Joe | last post by:
Hi there. I have to develop an eCommerce/intranet application for a client which obviously has to access a database(mysql in this case) and handle posting data to the server where I can hanle the...
2
by: Brent Borovan | last post by:
Over the next few months our company will be adding ecommerce functionality to a new web based service we are developing. Customers can sign up for the service and pay for it either on a monthly...
0
by: Lisa | last post by:
This is a unique opportunity to architect and build a new web site and integrate with all other company software to provide global commerce for our products on the web from the ground up. The...
2
by: Griff | last post by:
Hi We have an eCommerce site that was designed as a BusinessToBusiness system. When anyone accesses a page, the site checks to see whether they have a current session (i.e. already...
11
by: Greg | last post by:
How can C# be used for a website ? Would the person viewing a site need to have the .NET framework installed ? What other technologies would need to be used ? Would a database server be needed...
1
by: nospam | last post by:
I apologize if this is not the right group for my question, over here all web-related newsgroups seem dead or filled with spam. A pointer to a good international web devopment forum is welcome. ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.