vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Cookies vs. Frames (https://vborg.vbsupport.ru/showthread.php?t=91042)

yinyang 06-25-2005 08:16 AM

Cookies vs. Frames
 
The new layout of my website uses two frames. The left frame is the navigation frame and the right frame is any webpage that nav frame calls.

Here's the problem, as most of you coders know (and i just found out), cookies don't work. For example, if i link a nav button in the left frame to vbulletin.org, i have to log in each and every time i visit it. Cookies don't get stored and remembered.

Now, I know most of you willl tell me to ditch this set up. But is there a way for third party cookies to be remembered using frames?

Please help!

Jolten 06-25-2005 09:17 AM

Use includes instead of frames.

yinyang 06-25-2005 04:08 PM

Quote:

Originally Posted by Jolten
Use includes instead of frames.

thanks!

um....how do you do that?

Jolten 06-25-2005 06:23 PM

PHP Code:

include('file.php'); 

Thank place your frame content in 'file.php'. Remember that the content must work with the page layout. With frames you have two separate html pages being displayed. with includes it's all one page and the content of the include must fit right into that single page.


All times are GMT. The time now is 11:53 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00972 seconds
  • Memory Usage 1,714KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete