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)
 Hosting Login Externally
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

brendan1431
Starting Member

5 Posts

Posted - 10 October 2006 :  12:47:48  Show Profile
Hi Everyone,

I am setting up a new Snitz Forum and would like to host the login form externally (on a different site). I have no problems POSTing data to the forum from the external site; however, when I get the login successful screen, the "Back to Forum" and META refresh take me back to the external site. I would rather not modify the forum code. Is there any way to pass an additional variable on submit to set this redirect so it is not dynamically created from the referer.

Thanks in advance for any feedback.

Brendan

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 10 October 2006 :  12:50:15  Show Profile
Add a hidden field named "target" to your form and use the URI you would like to redirect to as the value. Note that if you want to use a relative URI, it must be relative to your forum's directory not the page your login form is on.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

brendan1431
Starting Member

5 Posts

Posted - 10 October 2006 :  13:01:29  Show Profile
Thanks so much... I will give it a try!

Brendan
Go to Top of Page

brendan1431
Starting Member

5 Posts

Posted - 10 October 2006 :  14:08:05  Show Profile
Unfortunately, this is not working. It is still redirecting back to to the external login page. I added

<input type=hidden name=target value=http://some-url.com/forum/Default.asp>

Anything else I should be adding?

Thanks again.

Brendan
Go to Top of Page

brendan1431
Starting Member

5 Posts

Posted - 10 October 2006 :  14:34:01  Show Profile
If it is any help, the version I am using is 3.4.05.

Brendan
Go to Top of Page

brendan1431
Starting Member

5 Posts

Posted - 10 October 2006 :  16:37:34  Show Profile
OK... So I am grasping at straws here... I have set the variable in my form and this is not working. So, I downloaded a copy of the code for my distribution of the Snitz software, cracked open login.asp and found the following line:

strTarget = trim(chkString(request("target"),"SQLString"))

Should this not be:

strTarget = trim(chkString(request.form("target"),"SQLString"))

Your help would be so appreciated.

Thanks.

Brendan
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 10 October 2006 :  18:38:47  Show Profile  Visit AnonJr's Homepage
Unless I'm mistaken, the target is passed as a form value in some areas and a query string value in others, so its not a mistake (if I'm understanding right... the last few days have me a little worn down so it could just be either a fuzzy mind or the Miller Genuine Draft)
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.43 seconds. Powered By: Snitz Forums 2000 Version 3.4.07