Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Cannot get changes to be reflected in register.asp
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

tekwrite
Starting Member

15 Posts

Posted - 08 September 2004 :  19:54:22  Show Profile
Should I not be able to change some of the register.asp and have that show up in the registrant's email? Here is my code changes (in bold). I edited the asp file in Dreamweaver.

if strEmail = "1" and strRestrictReg = "0" then
'## E-mails Message to the Author of this Reply.
strRecipientsName = Request.Form("Name")
strRecipients = Request.Form("Email")
strFrom = strSender
strFromName = strForumTitle
strsubject = " Main Street Baptist Youth Forum Registration " & strForumTitle
strMessage = "Hello " & Request.Form("name") & vbNewline & vbNewline
strMessage = strMessage & "You received this message from " & strForumTitle & " because you have registered for a new account which allows you to post new messages and reply to existing ones on the forums at the Main Street Baptist Youth Forum" & strForumURL & vbNewline & vbNewline
if strAuthType="db" then

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 08 September 2004 :  21:21:49  Show Profile
in your first change why have the forum title twice? in the second change, you should use strForumTitle rather than hardcoding the name. you should avoid editing asp files in a GUI program. use an html editor or better yet, notepad to make changes.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

tekwrite
Starting Member

15 Posts

Posted - 08 September 2004 :  21:48:57  Show Profile
But Dreamweaver is an HTML editor. I feel like it is a cache problem as it is sending the original ASP text in the email even though I FTP'd the revised one (with the above changes).

Ken
Go to Top of Page

tekwrite
Starting Member

15 Posts

Posted - 08 September 2004 :  22:06:49  Show Profile
PS...I cleared the IE cache and that did not help. I edited the register.asp in Notepad and that did not help either. What am I missing here; gotta be something simple.

Ken
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 08 September 2004 :  22:29:11  Show Profile
your server may be caching. try naming your new file to register2.asp, then use register2 to see if it will show the changes.

if it does, talk to your host about the caching issue ... or you can add some code to inc_header to tell it not to cache.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~

Edited by - Nikkol on 08 September 2004 22:30:38
Go to Top of Page

tekwrite
Starting Member

15 Posts

Posted - 09 September 2004 :  07:53:07  Show Profile
quote:
Originally posted by Nikkol

your server may be caching. try naming your new file to register2.asp, then use register2 to see if it will show the changes.


Wouldn't I have to change some other file that "calls" the register.asp to now "call" register2.asp?

I am also contacting the host to see if it is caching.

Thanks.

Ken


Edited by - tekwrite on 09 September 2004 08:11:27
Go to Top of Page

tekwrite
Starting Member

15 Posts

Posted - 09 September 2004 :  10:20:33  Show Profile
My host says he can't figure it out so I am hoping someone here can.

Ken
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 09 September 2004 :  10:54:24  Show Profile
yes, policy.asp ... make a policy2.asp and look for instances of register.asp ... change to register2.asp

also, in register2.asp, look for instances of policy.asp and change to policy2.asp

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.28 seconds. Powered By: Snitz Forums 2000 Version 3.4.07