vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Accessing session cookie across sub-domains (https://vborg.vbsupport.ru/showthread.php?t=34416)

jminiman 01-23-2002 08:00 PM

Hi,

We are trying to allow users to browse our software database http://software.pocketnow.com and post comments to vB. We can easily post using their login (after first verifying them), but we can't find a way to access the session cookie from vB (our vB is located at http://discuss.pocketnow.com).

So, is there any way we can access the discuss.pocketnow.com session cookie from software.pocketnow.com? Or, is this impossible?

Scott MacVicar 01-23-2002 08:08 PM

set the cookie domain in the admin panel to

.pocketnow.com

yes it must begin with a period

jminiman 01-23-2002 08:14 PM

Thanks!!

KuraFire 10-16-2002 09:39 AM

question: how did you do that? I want to access my $bbuserinfo array-variable in quotes.kurafire.com but when I include global.php (which is adjusted to point to hardcoded paths > functions.php etc.) I only can get a Guest version of $bbuserinfo :(

Please tell me what I need to do.. putting .kurafire.com as my cookie domain didn't do much so far :(

KuraFire 10-16-2002 09:43 AM

nm, had to log out and log in again before it worked, duh :)

Scott MacVicar 10-18-2002 09:37 AM

yeah when you logged out and logged in it would set the new cookie which can be accesed accross all domains.

DrScion 08-24-2004 10:45 PM

For some incredibly odd reason, I can not access my cookie information...

The cookie domain is .mysite.com in the admin cp, and all the information IS stored in the cookie, but when I try to call the cookie information, it wont print anything.

Weird thing is, access to page x.php requires that bbpassword be set ($_COOIKE['bbpassword']) it works, I can access page x.php. However once we/I are on page x.php I cant
PHP Code:

echo $_COOKIE['info']; 

any clue?


All times are GMT. The time now is 05:56 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.01030 seconds
  • Memory Usage 1,719KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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