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)
 registration problem - register.asp
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

brujo
Average Member

USA
602 Posts

Posted - 25 September 2002 :  15:24:13  Show Profile  Visit brujo's Homepage
I was having a problem in policy.asp with the fact that it would not forward onto register.asp

It was just reloading the policy.asp file every time a member hit AGREE on policy.asp

My forum uses Frames - I thought that might be the problem

I edited the following line in policy.asp therefore to add a target after the register.asp

form action=""register.asp?mode=Register"" target=""mainFrame"" id=""form1"" method=""post"" name=""form1"">" & vbNewLine & _

now it works ok

however now, after registering after displaying the confirmation note explaining about the activation email - it forwards them to policy.asp again in the mainFrame.

Is this because of the following line in register.asp (lines 58 and 59)

if InStr(Request.ServerVariables("HTTP_REFERER"), "policy.asp") = 0 then
Response.Redirect("policy.asp")



i.e. is it because there is no apparent referrer ??

I am lost - how do I rectify this ??

thanks in advance.


brujo

v3.4.03
Acc2000

Edited by - brujo on 25 September 2002 15:31:42

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 25 September 2002 :  15:36:01  Show Profile
It sounds like there's a problem due to either your firewall or virus scanner not allowing the HTTP_REFERER. This is known as "mobile code" in ZoneAlarm and I believe Norton Firewall has something similar.
It's not a problem in Snitz but due to third party software. The only way around it, if that is indeed the problem, is turning off the software that's interfering with the registration, or changing the settings of that program.
Go to Top of Page

brujo
Average Member

USA
602 Posts

Posted - 25 September 2002 :  15:50:38  Show Profile  Visit brujo's Homepage
Thanks Roland.....

is there any other way around it ??

did this part of the code used to be in previous version ?? i.e. can this be omitted from the register.asp

thanks in advance



brujo
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 25 September 2002 :  15:53:13  Show Profile
It was there in 3.3.xx too. You could take it out, but it could mean that people will register without having read the policy (or at least stated that they read it). You would then have to hardcode the page where someone will get sent after registration has been completed.
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 4.01 seconds. Powered By: Snitz Forums 2000 Version 3.4.07