Wrox Programmer Forums
|
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 12th, 2008, 01:29 PM
Registered User
 
Join Date: Mar 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sharing cookie data between virtual directories

I have an obscure problem: I am trying to combine a third-party discussion board with a custom blog interface I have written myself (I have reasons for making such an insane decision). I have largely been successful, with the exception of one thing: I can't get MY blog pages to recognize the presence of the discussion board's cookie (which contains the user login data). My blog page has identical code for detecting and creating or updating the cookies.

After doing some poking around, I noticed that the server is creating two cookies. I realized that this is because my blog pages are in the main directory of the site (i.e. ...site.com/blogpage.asp ), and my discussion board is in a different folder on the server accessed via virtual directory (i.e. ...site.com/BOARD/discussionpage.asp ). In other words, one cookie is being created for pages residing at the root level, and another cookie is being created for pages residing in the "BOARD" virtual directory.

I am (obviously) not very experienced with cookies. Is there any way to explicitly tell the root level pages to look for the "BOARD" level cookie?

Thanks!

 
Old February 21st, 2008, 04:11 PM
Authorized User
 
Join Date: Jan 2008
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Crow:

Chk into Request.Cookies





Similar Threads
Thread Thread Starter Forum Replies Last Post
data integration/sharing cpojoe BOOK: Beginning SharePoint 2007: Building Team Solutions with MOSS 2007 ISBN: 978-0-470-12449-9 4 November 9th, 2008 06:01 AM
Sharing a data structure across multiple threads ravishakya Pro Java 1 October 9th, 2006 08:32 PM
adsi and iis virtual directories gnubar General .NET 0 February 24th, 2005 11:16 AM
Same Application Object for 2 Virtual Directories lian_a Classic ASP Basics 0 June 6th, 2004 10:10 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.