Author |
Topic |
|
li125
Starting Member
12 Posts |
Posted - 11 April 2007 : 16:43:41
|
I'm hosting a snitz forum which I like to access from a redirection link. The forum itself is at www.tour.be/lambretta/forum The redirection link that I like to use is forum.lambretta.be Everyting works with the direct link, but I can't login when using the redirected link. Posting a message while entering your login each time is possible. I tried the Home and Forum url in the Main forum Config w/o result. Also to set Cookie to Forum or Website. (although I don't get this one, Cookies are safed to the users PC no?) What setting can I try to get this working? |
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 11 April 2007 : 17:14:31
|
the problem is to do with the redirection and is nothing to do with the forum itself. |
|
|
li125
Starting Member
12 Posts |
Posted - 13 April 2007 : 09:25:52
|
yes that's what I thought also, but is there a way of getting this to work? I suppose I'm not the only one using redirection and I prefer to have an easy to remember url for the forum. |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 13 April 2007 : 09:55:25
|
the problem with cloaked redirection is that your browser thinks you are in a different domain to the forum and therfore cookies don't work correctly because the forums cookies are being written for a completely different domain.
most people do not use redirection for that very reason, much better to actually have your domain pointing at your website. |
|
|
li125
Starting Member
12 Posts |
Posted - 15 April 2007 : 16:29:53
|
yes indeed in Firefox it does work! No further tips to get this working also in IE6&7?
quote: much better to actually have your domain pointing at your website
What do you mean exactly by this, using the real url for the forum? |
Edited by - li125 on 15 April 2007 16:31:29 |
|
|
pdrg
Support Moderator
United Kingdom
2897 Posts |
Posted - 15 April 2007 : 16:35:27
|
quote: Originally posted by li125
yes indeed in Firefox it does work! No further tips to get this working also in IE6&7?
quote: much better to actually have your domain pointing at your website
What do you mean exactly by this, using the real url for the forum?
Works OK in Firefox, not in IE - looks like you need a Compact Policy - search here for that term |
|
|
li125
Starting Member
12 Posts |
Posted - 17 April 2007 : 07:22:33
|
yes that was it, many thanks. I found the solution is this:
quote:
Add the following line below the Response.Buffer line in Config.asp: Response.AddHeader "P3P", "CP=" & chr(34) & "CAO PSA OUR" & chr(34)
Also lowering the privacy policy in IE from high to low works. I prefer the first solution instead of letting each user adjust their settings. |
|
|
mitchell-krog
Starting Member
South Africa
12 Posts |
Posted - 05 August 2007 : 11:21:52
|
There is another cleaner way of doing this in Snitz.It serves the correct Search Engine Friendly headers and also works in IE and Firefox.
In Config.asp add the following under response.buffer = true
if Request.ServerVariables("HTTP_HOST") = "yourdomain.com" then Response.Status="301 Moved Permanently" Response.AddHeader "Location", "http://www.yourdomain.com" end if
Hope this helps someone. Cheers Mitch
|
|
|
|
Topic |
|