Home | Advertising Info139 USERS CURRENTLY ONLINE   
PowerASP
   Site Search Contact Us Friday, March 14, 2025  

PowerASP active server pages asp.net microsoft .net framework sdk learn asp what is asp tutorial learn asp.net CJWSoft ASPProtect ASPBanner ASPClassifieds



Blog Entry: 3/25/2006 1:40:22 PM

I didn't know about it. I will try to check it out some more this week.
,

http://gibsoncity.info/guestbook/default.asp

Reports 65-messages, however after the first 10 are displayed and you click on the More Messages button, I get the Page cannot be found error.

,



An email I just received from eastcoastguy.. to keep this thread up to date

 

 

Your quick reply was greatly appreciated... I removed the password and was able to use a DSN...I will look into a DSN-less connection later..once i get this working !
Cheers
 
eastcoastguy
 
 
 
 
cwilliams38146.6165509259,

Chris, if there is no way to change this, I understand. I just though maybe it might be possible and I can't find out if i don't ask.

Thanks Chris.

Let me know.

-john

 

, I encountered the same problem and eventually found out that my Norton protection was not allowing scripts to work so I had to uncheck the setting before the banners reappeared.,

I checked through the code and could not find anything as well. 

However, I do think it may be related somehow to the code as I get the messages popping up in the error log only after I have edited a banner.

If there is nothing obvious, I may just set my error log to filter and automatically delete this type of error.  Not something I prefer to do.

Thanks for the quick response.

Otherwise the program is working very well and I'm happy with it.

 

, I am having difficulties importing new Users.

I have exported the existing list and then copied in the additional users and save the file as text (tab delimited) in Exel.

When I go to import the file (browse then upload) I get the following error:

Microsoft VBScript compilation error '800a03f9'

Expected 'Then'

/aspprotect/password_admin/upload_post.asp, line 6

If Session("Admin") <> "True"



If I upload the text file by FTP and then try to import it it only tends to import the first two existing rows.

All collumns match but not sure if I need to add "User_ID". I have added it and created consequecutive numbers.

Any assistance would be appreciated.

Thanks



,

This first one may be an obvious one, but is it only .asp files that I can protect as in no HTML files.

Can the program be set to protect my whole https directory contents (though the answer to the last question may have bearing here - there are html files as well as .asp in there) as in http://secure.mydomain.com

Thanks in advance

,

I have imported like 50,000 users into an access database when testing... it took like 4-5 minutes but worked..

course it really all depends on the setup how many you can get away with

something must still be wrong

have you tried just importing 1 or 2 users for troubleshooting sake ?

I would also recommend that after any timeout you reboot the server or at the very least do an "iisreset" to get things back to normal

, I think I have successfully integrated Paypal but seem to have a slight issue. Once a person has entered the Paypal site but cancels their order, the ad is still placed on the site. The optimal way for my site to work would be to cancel the ad once the Paypal process has been cancelled. Any help would be great.

Thanks


,

that wont work the way you did it because groups are not stored like like.

groups are stored "*1*"
or "*1*,*9,*"

so if you test for them you must do so using the InStr function of vbscript

example:

If InStr(Session("Groups"),"*1*") Then
    ' do whatever
End If

also.. as for the session variable
it should be    Session("Groups")

And in Version 6.... (its all ready to go in version 7) that session variable must be saved in the check_user_inc.asp file near where all the others are saved. If it is not there by default "I dont remember if it is or not" you have to add it like so near where all the others are saved

Session("Groups") = CmdCheckUser("Groups")

If you are wondering if it is being saved correctly you can always response.write out the Session("Groups") to see if it holds a value

,

Why all the pages at the directory .../password_admin/ are very slow to open online?

vaghelis38300.5280208333, ok,

Sounds great, Sold!

Thanks Christopher!

, If you have messed up the admin account or forgotten the admin password you generally should open up the database manually and add a new account or see what the old account is.

In version 7 however you have another option. Go through the installation instructions again. Specifically the part where you use the "get_me_in.asp" page to get back into the admin area by pasting in the password encrpytion keye you are using from your config file. ,

Hi,

We use ASP Protect to password protect the pages in the member area ( http://www.pti.org/members.asp )

Of late Once or twice every month our whole site goes down and it gives us a "Microsoft VBScript runtime error 800a006 Overflow: Clnt //global.asa line 33 " error message (with the friendly message turned off). When we reboot the web server things are up as normal.

But this is happening too frequently and creates a bad impression.

Any suggestions on how we could prevent this would be greatly appreciated.

, You may be interested in this. I just put it together real quick like.

http://support.cjwsoft.com/code/code_info.asp?TID=454&PN =1&TPN=1 , yea.. keep us posted... thats weird,

Sorry, not really.. not without a lot of changes to the code.
the recent activity info recycles.. it is not meant to be day by day

My suggestion there would be to look at both the log files and the user activty screens...

,

I appreciate the offer to beta test... but its really more a matter of me getting it ready..

I have a lot done.. but a lot of things are hard coded to only work on my machine and some things have not been sorted out. Giving it to someone else to test would be a waste of time at this point as I they probably couldn’t even run it.

Lately the reason this project has fallen behind has all to do with my main webserver where I collocate.

1st it got compromised (we think by certain competitors who are always up to no good)... then windows 2003 server which I decided to go with on the new server gave me random problems... then the Cisco hardware firewall was acting up and making the sites run slow....then SQL server attacks on port 1433 from Korea when I took the firewall down....and as of the last few days I think the server just needs a new power supply. I swear for the last 2 months I have spent more time administrating my servers than working on code. Yesterday it was locking up every 30 minutes. There have been a lot of days like that and it takes up all my time until I get it situated.  Especially since its over 100 miles to the collocation center. The APC unit I installed that allows me to remotely cut the power to hard reboot is a life saver.

Fun... I tell ya... and expensive.. (hardware, software, lost sales, and time) I am pretty much completely broke at the moment. It has been a very expensive few months.

But I like running my own servers... I run dns servers, email servers, sql servers, web servers.. I do it all. It's keeps me in touch with the latest software/hardware. Regardless , my servers ran well for years and they will again.


anyway.. hopefully I can actually get a new version of the photo gallery out before the month is over. It will probably be the last classic asp version. The version after that will most likely be ASP.net.

cwilliams38295.6248032407,

<%@ LANGUAGE="VBSCRIPT" %>
<!--#INCLUDE FILE="check_user_inc.asp"-->
 
<%
    Response.Write(Session("Groups"))
%>

,

IFRAME is just an client side html thing...

has nothing to do with .NET

will work with any page extension or server side technology

As you see from that compatibilty chart I posted a link to.
Nearly every modern browser supports it.

 

cwilliams38155.4462847222, If it stopped working it has nothing to do with the ASP code. YIf could have stopped for any number of reasons as hosts often change email server requirements and info. You need to go over the email settings. Of course make sure you and the person you are sending to have valid email addresses and try different methods/settings until you get emailing to work again.

Testing it by sending emails off from the users screen.. in each email type in what you are trying at that time so you know what worked if emails make it through. Also, be sure to check junk filters when testing to make sure the emails are not being put in any of those.

That's what I would do. CDOSYS is always your best bet for sending emails as it has so many options and all new server support it. ,

Anyway,

How busy your site is actually won't be the only factor. Really the application should not restart unless something happens. If the IIS application is reseting alot it could very well be the ISP restarting the server or doing IISRESETS as well or other sites on the server causing the application pools to restart.. etc etc etc  Quality ASP hosting is important. Regardless your hosting company most likely will not admit to anything be out of the ordinary.

As far as that directory deleting itself on you.. I doubt they will have an answer for that one. All I can tell for sure is I didn't put any code to delete it in there.

,


IMPORTANT UPDATE - READ THIS
http://support.cjwsoft.com/forum/forum_posts.asp?TID=205& ;PN=1


The IPN Subscription Pack which is built in to ASPProtect 7 contains all the pre-built scripts you need to implement PayPal IPN Subscriptions with ASPProtect. IPN stands for (Instant Payment Notification). It allows you to set up scripts on your server so whenever a PayPal payment is processed the PayPal server sends info to your server regarding the transaction and vice versa. This is a fully automated process and allows you to charge users for access by the month or however long you like.

The Subscription feature of PayPal handles recurring billing automatically. The PayPal server will communicate with the ASPProtect system and keep everything up to date with users and their subscriptions.

This Support Pack basically gives you an additional signup and registration directory "paypal_sub_signup" and it should not interfere with any changes or customizations you have made to your ASPProtect setup. New users can register in this directory and sign up for a subscription at the same time. Existing users whether active or expired can be sent to this directory where they can lookup their account and start a subscription. You can also assign various Access and Group Levels during signup and you can set up various prices for various amounts of time as well. This is a real-time setup for the most part. As soon as a user pays via PayPal your system is updated and they will have access.

To use this all you need to do in ASPProtect 7 is enter your PayPal account name into the settings screen. It will be an email address. You'll need a business or premier account with PayPal and you will need log into your PayPal account and turn on IPN in you profile. They make you enter a default IPN URL. We do not use that so if you already have something there leave it there. If you dont have something there you can type in any the full url to any page on your server. It's probably best to send it to an empty ".asp" page or something.

Changing Payment Options

In the "paypal1.asp" file there are some sample payment options set up.

They look like this and you can have as many as you like.

<!-- Begin Payment Option Code -->
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">

<% Label = "Membership (1 Month) $9.99 Recurring" %>
<!-- Begin Form Fields You Can Edit.. See PayPal Subscription Manual For Details -->
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="a3" value="9.99">
<input type="hidden" name="p3" value="1">
<input type="hidden" name="t3" value="M">
<input type="hidden" name="src" value="1">
<input type="hidden" name="sra" value="1">
<!-- Field Below must have 2 commas First two values are optional (access level,groups,user ID)-->
<input type="hidden" name="custom" value=",,<% =User_ID %>">
<!-- End Form Fields You Can Edit.. See PayPal Subscription Manual For Details -->

<!--#INCLUDE FILE="form_data_inc.asp"-->
<input type="image" src="https://www.paypal.com/images/x-click-but20.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">

</form>
<hr>
<!-- End Payment Option Code -->

 

To really understand what these form values mean it is best to look through the PayPal Subscriptions Manual which is a PDF file you can get from the PayPal Site.

This link was valid the last I checked...
Subscriptions and Recurring Payments Manual

It also may be helpful to use their wizard to create some subscription buttons with different settings and then look at the code generated.


Bascially these are the important ones..

  • a3 - amount to billed each recurrence
  • t3 - time period (D=days, W=weeks, M=months, Y=years)
  • p3 - number of time periods between each recurrence
  • The custom field is something we are using to send info from ASPProtect to PayPal.
    it allows you to set the access_level or groups access (groups support require the ASPProtect Option Pack)

    <input type="hidden" name="custom" value=",,<% =User_ID %>">

    or this example where we are setting the access_level to (2) and also giving the user access to groups (3 and 4)

    <input type="hidden" name="custom" value="
    2,*3*4*,<% =User_ID %>">

    Here is how it works.
    The value setting (red) is essentially and array that can be made up 3 elements separated by comma's

    access_level,groups,User_ID

    If you do not want to set the access_level or groups access.. then you don't even need to edit the setting.

    Values must be separated by a comma even if there is no value and there can be no spaces.  If you didn't want to set an access level or groups there would still be 2 commas at the beginning.  etc etc
    Basically there must always be 2 commas but you only have to set last values which is the User_ID from the ASPProtect system.

    The 1st value is the access level you want to user assigned to.
    The 2nd option is the groups you want the user assigned to. (requires option pack)
    The 3rd option is the User_ID which the system takes care of. Do not edit this option. Leave it as <% =User_ID %>

     

    cwilliams38421.7141782407, One of my users is looking to do mass updates (multiple records). He wants to be able to update the "Expiration Date" for a group of users who work for the same company. ,

    I would like to create a login form on the home page which will not be password protected to the site for members so that they can login right from the home page and not a password protected page like many sites have. And every portal I have seen.

    Plus the login form looks really pretty and proffesional on the home page   ...

    I can't find anything in the documentation that says how to do this or if it's even possible. Everything I have found says to password protect a page and then direct them there which isn't what I would like to do.

    Here is the code of the login page which is an asp include file on the main page:

    <html>

    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    </head>

    <body>
                                  <td><img src="images/a026.jpg" alt="" width="187" height="21"></td>
                              </tr>
                              <tr>
                                  <td bgcolor="#EBEBEB"><table width="100%"  border="0" cellspacing="0" cellpadding="3">
                                           <tr>
                                               <td><table width="180" border="0" cellpadding="0" cellspacing="0" bgcolor="#AAAAAA">
                                                       <tr>
    <td><img src="images/spacer.gif" alt="" width="1" height="1"></td>
                                                             <td><img src="images/spacer.gif" alt="" width="178" height="1"></td>
                                                             <td><img src="images/spacer.gif" alt="" width="1" height="1"></td>
                                                       </tr>
                                                       <tr>
                                                             <td><img src="images/spacer.gif" alt="" width="1" height="1"></td>
                                                             <td bgcolor="#FFFFFF"><form name="form_login" method="post" action="">
                                                                  <table width="100%"  border="0" cellspacing="5" cellpadding="0">
                                                                      <tr>
                                                                          <td width="53%"><input name="textfield" type="text" class="style-01" value="username"></td>
                                                                          <td width="47%"><a href="#" class="link-02">Forgot pass?</a> </td>
                                                                      </tr>
                                                                      <tr>
                                                                          <td><input name="textfield2" type="text" class="style-01" value="password"></td>
                                                                          <td><a href="#" class="link-02">Not registered?</a> </td>
                                                                      </tr>
                                                                  </table>
                                                             </form></td>
                                                             <td><img src="images/spacer.gif" alt="" width="1" height="1"></td>
                                                       </tr>
                                                       <tr>
                                                             <td colspan="3"><a href="#"><img src="images/a027.jpg" alt="" width="180" height="15" border="0"></a></td>
                                                       </tr>
                                               </table></td>
                                           </tr>
                                  </table></td>
    </body>

    </html>

    Does anybody know what values I would put in the form to send the correct login to AspProtect. And, if I would have to add any extra includes or code to it.

    TIA

    , One month later, things are running very smoothly. Color me "satisfied customer"! ,

    You can mix and match banner calling methods all you want.
    Try it and see what happens.

    However, the only method that is going to work on non ".asp" pages is the javascript or the new iframe method listed in the support forums.

     

    cwilliams38209.532349537,

    Well Chris:

    I logged off too soon after your last response. Your last idea was the answer. I am running McAfee as my virus-scanner on the mail server I am running. There was a script inhibitor enabled as a worm detection function. When I disabled it, your software responded correctly. I guess I can do without that, although with everything thrown at the net these days, it makes me a little nervous.

    Thanks

    , Chris,

    Thanks for the reply. It all makes sense.

    I have gone with your first option but here is the problem:

    I have moved the password protected page from the detail page with the querystring to the straight .asp page. This obviously fixes the previous error.

    Once someone has logged in they are then presented with a list of links to the previously protected pricelist detail pages (example - "somepage.asp?ID=3""). They are then able to access the pricelists.

    The problem is that if someone copies the pricelist URL they are then able to pass it on to someone else and bypass the password protection.

    If I also password protect the pricelist pages then someone will have to login twice.

    Is there some code that i can add that will simply check that they have logged in otherwise kick them back out to the protected .asp page.

    All code in your documentation tends to open the login page regardless of whether you have previously logged in.


    Thanks,

    Stuart

    ,

    Is it possible to change the currency for accepting payments?  I will like to change from US to Canadian.


    Thanks in advance
    Roy

    , That helped very much.  Thank you.  Hope you enjoyed your dinner.,

    YES.. you need to edit your SWF file to link to the aspbanner system...

    example.. the link may look something like this
    http://banserver.powerasp.com/aspbanner/banner_redirect.asp? Banner_ID=60

    of course you need to put in the right information for your site and whatever banner ID it is in your system

    Like it says above.. if you save the new banner at least once and then come back to edit that link will be generated for you at the bottom of the edit page.

    then when your flash banner is clicked on it will go track the click and then send them to the "link_url" specified for that banner when you edited it.
    (you need to enter the final destination url there if you want that to work)

    ,

    you do not run "check_user_inc.asp" by itself

    Pages you protect include that file at the top.. when they someone goes  to a protected page if not logged in a user then sees a login prompt..

    after loggin in they see that same page as normal

    its an automated process..

    now, that being said if you really want to you a specify a page to be redirected to after the 1st login when you edit a users info. You can also redirect anyone anywhere like using a simple ASP redirect statement in your code.

    Personally I feel that redirecting people all over the place is poor site design. ASP is all about dynamic code and ASPProtect is all about dynamically tailoring pages to the current logged in users... so why redirect people all over the place.. it justs complicates things because you still need to password protect the places you send them to.... which means twice the work and twice the confusion.


    Also, here is a Version 6 thread about redirecting manually that still applies to version 7.

    http://support.cjwsoft.com/code/moreinfo17-1.htm

     

    ,

    Version 8.1 can work with MySQL
    http://www.aspbanner.com/aspbanunlimited_v8.asp
    It is just not supported at all.

    The standard version can not work with MySQL.
    There were a lot of changes to make the new version work with it and I really only did ift because I have a couple friends with busy sites that could only use MySQL.

    It sounds like your site is way too busy for using an access database as you mentioned.

    ,

    Hello:

     

    When using the Mass Mail feature and selecting the Users to ‘Active’ and the Access Level I want to send to the system will still send e-mails to the ‘Inactive’ users from the same Access Level.

     

    In other words it sends to everyone in the Access Level regardless if you choose “Active” only.

     

    Any ideas to correct?

     

    Thanks,

    -Ricardo

    , if you use our existing User_ID they are going to get new ID's. There is nothing you can do about that.

    You could very easily though stick your exisisting User_ID's in one of the custum fields so you dont lose that info for each member.,

    I'm all set - after thinking about your replies - i checked a bit more and changed the email component type -- thanks again for all your help.

    , on that particular page check the session variables manually (not using the include)

    that way you are keeping the login access checking to an absolute minimum, elminating any form processing from the login procedure, and keeping the upload script happy

    like so

    <%
    If Not InStr(Session("Groups"),"*1*") Then
        ' do whatever
    End If
    %>

    you could response.write something followed by a response.end

    or you might even want to response.redirect them to some other page that using the "check_user_inc.asp" where they can log in

    And if you are going to be using a free asp upload script use this one as it is probably the best pure code upload solution available as far as performance goes.

    http://www.freeaspupload.net
    ,


    Timecard Entry: 3/25/2006 1:40:22 PM

    Meet with Howard, Randy, & Darrell, stuff at the end of the day, organize for the morning., web design research: Flash 4, monday meeting, registered domain for ingles performance, did initial paperwork for site, roserealty virtual email setup, email, voicemail, call backs, Start moving out the downstairs office, and putting desks in their for Mary and Cathy. Also did over an hour on tech support because Robby's kid was in the ER., Setting up new softmls code on my laptop and server, meet with Jim, Problems from the folder from Jackie, paperwork, radlog, no calls or dial up issues, Marketing, Called back and took care a good chunk of the open incedents that were open, Setup FTP site for John Janesik, drive to Wolcott to meet with Chris Palermo ( no miles - Dave drove), A large amount of calls coming in. Hold times around 7-10 mins. Many e-mail problems, check on network status, busy afternoon. Duties callbacks from voicemail, checking emails, taking sign ups, quality checking sign ups, answering phone. , Finishing up gtosportspromotions.com design per Amy's suggestions., radlog and callbacks, Covering the Noc and waiting for the CHR conference call, training Nortel CVX 2187 NC, Continuing move/getting myself and Crispin settled., Reading through my ASP book and waiting to hear back when I'm starting to learn how to do reports, Support: e-mail/FrontPage issues, OCCE router testing, Email/Voice Mail/Newsgroups/Time Card, weekly chr conference call., Review POA with Paul- worked on Wan leads for Supreme in Oburg, Internal Medicine, and Seacomm Credit Union, more tech calls and basicallyonly that till i left,

       Active Server Pages Rule The World
    Contact Us  
    All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
    Banner ads ,other site logos, etc are copyright of their respective companies.
    STATS Unless otherwise noted - All Rights Reserved.

    Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com