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)
 Can't Login to Forum in a Redirected Page
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

KeithW
Starting Member

17 Posts

Posted - 10 August 2002 :  21:28:27  Show Profile
Dear All,

I have my forum running in an IFrame on my site which is itself running inside a Frame automatically generated by my Web Redirection service, (see code below). My site is running on Brinkster, and I have applied the modifications provided, to the Snitz source code in order for the Brinkster ASP scanner to accept them.

If I go directly to my site by using the full Brinkster URL, (ie. no redirection) everything works fine.

Any ideas?


Cheers,
Keith Willis.








<HTML>
<HEAD>
<TITLE>MyTitle</TITLE>
</HEAD>
<FRAMESET ROWS="100%,*" BORDER="0" FRAMEBORDER="0" FRAMESPACING="0" FRAMECOLOR="#000000">
<FRAME SRC="http://www28.brinkster.com/myname/default.aspx" NAME="redir_frame">
</FRAMESET>
<NOFRAMES>
Sorry, your browser does not support frames. Please <A HREF="http://www28.brinkster.com/myname/default.aspx" TARGET=_top>go here</A>
</NOFRAMES>
</HTML>

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 10 August 2002 :  21:35:13  Show Profile
The problem is that the URL for the cookies is set to that of the forum, but the URL the cookie is checked against is that of the frame. I believe one of the solutions to keep the frame and still be able to use the cookies was to add a second domain for the cookies to use.
The other solution is to get rid of the frames...
Go to Top of Page

KeithW
Starting Member

17 Posts

Posted - 10 August 2002 :  21:43:35  Show Profile
Then why does it work inside my IFrame? As far as I can tell there is only a problem when I access via the redirection and a new overall frame is wrapped around my site.
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 10 August 2002 :  21:45:34  Show Profile
why don't you give a link to your site? I'd be able to see which URLs are used for the frame and iframe. Right now I'm shooting in the dark (so to speak)
Go to Top of Page

KeithW
Starting Member

17 Posts

Posted - 10 August 2002 :  21:47:58  Show Profile
Also if I set my Cookie to Forum and not Website shouldn't this solve the problem? (it doesn't).
Go to Top of Page

KeithW
Starting Member

17 Posts

Posted - 10 August 2002 :  21:57:16  Show Profile
Just found a long discussion thread on this very same issue.

TOPIC_ID=25303


As far as I can tell it was never fully resolved but there was a working hack proposed.
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 10 August 2002 :  22:07:56  Show Profile
Is the page with the iframe on the same site as your forums? If so, there's your answer to why your forums are working inside the iframe.

As I said, frames are known to mess up the forums' login and logout functions (among other cookie-based functions).
Go to Top of Page

KeithW
Starting Member

17 Posts

Posted - 10 August 2002 :  22:47:07  Show Profile
ok here's the redirected link to my site
http://www.net-soft.com.au

here is the direct Brinkster link:
http://www28.brinkster.com/netsoftds/default.aspx

Yes the site that hosts my forums is the same site with the IFrame.
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 10 August 2002 :  22:55:02  Show Profile
Well, then that's where your problem lies. The forum looks for a cookie that it can't find because of the frameset that masks the URL. You'll have to jump out of the frameset to get the forums' cookie-based functions to work correctly.
Go to Top of Page

KeithW
Starting Member

17 Posts

Posted - 10 August 2002 :  23:04:54  Show Profile
I have the link to the forums set to www28.brinkster.com/netsoftds/forums/default.asp

but this is done programmatically, ie. I set the IFrame's src attribute to that URL...

document.getElementById('id_bodyFrame').src = 'http://www28.brinkster.com/netsoftds/Forums/Default.asp';

Does this mean that I should change the main page's location to www28.brinkster.com/netsoftds? This would effectively remove the cloaking. Is there anyway to retain the cloaking and still get my cookies to work? Perhaps a hard-coded modification in the Snitz code?
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 11 August 2002 :  06:14:59  Show Profile
I haven't heard of a solution for the problems that frames give except jumping out of the frame and thereby, as you said, removing the cloaking.
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.42 seconds. Powered By: Snitz Forums 2000 Version 3.4.07