Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 426 to 450 of 463
Search took 0.03 seconds.
Search: Posts Made By: madhukp
Forum: Classic ASP Basics June 24th, 2004, 05:20 AM
Replies: 24
Views: 17,368
Posted By madhukp
hello Sudhan, Actually what is this GETCOUNT...

hello Sudhan,
Actually what is this GETCOUNT method ? If this is some method defined in a class of your own, you need to change this method.

Or are you using a COM object for handling DB related...
Forum: Classic ASP Basics June 24th, 2004, 01:26 AM
Replies: 19
Views: 4,805
Posted By madhukp
Hi silver_cuts, I agree with you totally....

Hi silver_cuts,

I agree with you totally. But I don't know how can I lock and unlock an access / sql server database. I have been searching for this for a long time.

I know how to lock a MySQL...
Forum: Classic ASP Basics June 24th, 2004, 01:15 AM
Replies: 24
Views: 17,368
Posted By madhukp
hello siver_cuts , For getting the row...

hello siver_cuts ,

For getting the row count, you need to use adOpenStatic as the curser set. i.e. like below.

dim rst
set rst=Server.CreateObject("ADODB.RecordSet")...
Forum: Classic ASP Basics June 23rd, 2004, 11:53 PM
Replies: 6
Views: 12,396
Posted By madhukp
But, I think you cannot include a linebreak in a...

But, I think you cannot include a linebreak in a URL. Are you trying to pass a long string through a querystring ? If then you may try post method instead of get method.

You may replace carriage...
Forum: Classic ASP Basics June 23rd, 2004, 11:35 PM
Replies: 15
Views: 17,186
Posted By madhukp
Hi snib, Thanks a lot for the so simple...

Hi snib,

Thanks a lot for the so simple solution. This makes me satisfy a long sought request of one of my client.
Forum: Classic ASP Basics June 23rd, 2004, 08:18 AM
Replies: 15
Views: 17,186
Posted By madhukp
hello happygv, Just for an interest sake. Is...

hello happygv,

Just for an interest sake. Is there any way to prevent the confirmation from appearing (if the window is not opened with the help of window.open method / target=_blank) ?

thanks
Forum: Classic ASP Basics June 23rd, 2004, 07:04 AM
Replies: 11
Views: 1,382
Posted By madhukp
I agree with you Imar. That is why I am trimming...

I agree with you Imar. That is why I am trimming username and password before putting into DB. I am against using whitespaces at the head/tail of username / password.

What I mean is When user...
Forum: Classic ASP Basics June 23rd, 2004, 06:37 AM
Replies: 11
Views: 1,382
Posted By madhukp
That is personal, I think. I usually permit white...

That is personal, I think. I usually permit white spaces in the usernames and passwords. I will trim username and password before checking equality.

While adding usernames to db also, I will trim...
Forum: Classic ASP Basics June 23rd, 2004, 06:08 AM
Replies: 19
Views: 4,805
Posted By madhukp
Hello Imar, Thanks for this reply.

Hello Imar,

Thanks for this reply.
Forum: Classic ASP Basics June 23rd, 2004, 05:35 AM
Replies: 19
Views: 4,805
Posted By madhukp
Hello Imar, Suppose we keep the log details...

Hello Imar,

Suppose we keep the log details in a database, will it be automatically multi-user friendly ? Or should we use stored procedures with transactions ?
Forum: Classic ASP Basics June 23rd, 2004, 05:18 AM
Replies: 11
Views: 1,382
Posted By madhukp
You may trim the username also. i.e. like below. ...

You may trim the username also. i.e. like below.

<%If ucase(trim(strusername)) = ucase("admin") Then %>
Forum: Classic ASP Basics June 22nd, 2004, 11:53 PM
Replies: 19
Views: 4,805
Posted By madhukp
I am also facing a similar problem. Thanks for...

I am also facing a similar problem. Thanks for the suggestion Om Prakash.

But,how can I lock a file ? Could you please explain it in some detail ?
Forum: Classic ASP Basics June 22nd, 2004, 03:06 AM
Replies: 31
Views: 4,291
Posted By madhukp
I am always against the use of session variables...

I am always against the use of session variables for this purpose in web pages.

I am not understanding why he can't use the one page method suggested above. To suggest some other method only, I...
Forum: Classic ASP Basics June 22nd, 2004, 02:31 AM
Replies: 31
Views: 4,291
Posted By madhukp
DEar Gazi_nomi, There is nothing logically...

DEar Gazi_nomi,
There is nothing logically incorrect for doing this. Since the number of form elements is more,
You will need an equal number of session variables. The more the number of session...
Forum: Classic ASP Basics June 22nd, 2004, 02:10 AM
Replies: 31
Views: 4,291
Posted By madhukp
Yes, there is. You can simply put it like this. ...

Yes, there is. You can simply put it like this.

<script language="Javascript">
window.history.back();
</script>

But this will work only if Javascript is enabled on client browser.

There...
Forum: Classic ASP Basics June 22nd, 2004, 01:59 AM
Replies: 24
Views: 17,368
Posted By madhukp
Hello texasraven, I can see two movenext...

Hello texasraven,

I can see two movenext statements inside the while loop. This is causing the problem. When your recordset fetches even number of records, it will work correctly. But when the...
Forum: Classic ASP Basics June 22nd, 2004, 01:45 AM
Replies: 31
Views: 4,291
Posted By madhukp
Hello Happygv, I accept your suggestion. It...

Hello Happygv,

I accept your suggestion. It is better to do it in one page. I can use include files to reduce the size of page.
Forum: Classic ASP Basics June 21st, 2004, 07:06 AM
Replies: 31
Views: 4,291
Posted By madhukp
I mean, without writing any code, there is no way...

I mean, without writing any code, there is no way to get back the previously typed values. In ASP.Net, there is a way to retrieve posted values incase there is some error.

Yes, you can post the...
Forum: Classic ASP Basics June 21st, 2004, 06:18 AM
Replies: 31
Views: 4,291
Posted By madhukp
Unfortunately, there is no way to automatically...

Unfortunately, there is no way to automatically post the value to the form back, I think.

Please go through my reply for the issue "Different objects send in links" which you started on 18th June....
Forum: Classic ASP Basics June 18th, 2004, 07:41 AM
Replies: 2
Views: 725
Posted By madhukp
A change in the page structure is needed. ...

A change in the page structure is needed.

You have a registration page which checks the details of the visitor submitted through a page say - registration.asp. Let that page be registrationFB.asp....
Forum: Classic ASP Basics June 17th, 2004, 11:38 PM
Replies: 17
Views: 2,697
Posted By madhukp
Hello Happy & hcweb, I have also used this...

Hello Happy & hcweb,

I have also used this control - HTMLAREA. It is perfectly suitable for this purpose. You can create your own tools also. This control is much better than all WYSIWYG editors...
Forum: Classic ASP Basics June 17th, 2004, 11:30 PM
Replies: 4
Views: 3,050
Posted By madhukp
Dear harpua, Thanks for the reply. My...

Dear harpua,

Thanks for the reply.

My classes are like this.

.boldtext
{
FONT-FAMILY: Arial, Geneva, Helvetica;
FONT-SIZE: 12px;
Forum: Classic ASP Basics June 17th, 2004, 06:03 AM
Replies: 4
Views: 3,050
Posted By madhukp
Sorry. I did not mention the mail component I am...

Sorry. I did not mention the mail component I am using. It is CDO.Message.

I tried with CDONTS also.
Forum: Classic ASP Basics June 17th, 2004, 06:01 AM
Replies: 4
Views: 3,050
Posted By madhukp
Sending a CSS formatted HTML mail

I have an issue in which I need to send an HTML mail to a number of subscribers.

The HTML uses a CSS file for its formatting. I have stored the CSS in a folder at server and used full path...
Forum: Classic ASP Basics June 14th, 2004, 05:38 AM
Replies: 13
Views: 3,087
Posted By madhukp
Do you mean that you need more and more variables...

Do you mean that you need more and more variables when you run through a loop etc. ? You can then use an array if the associated value is of normal data types (string / number).

If you want to...
Showing results 426 to 450 of 463

 




Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.