473,320 Members | 1,858 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

cross sub-domains session sharing

I have 2 domains X.AAAA.BB and Y.AAAA.BB and I would like to share
sessions values between them.

According to the cookie specification it is possible to create a
cookie with a common domain setting: .AAAA.BB. Thus the browser will
send back the cookie to both of the web sites X.AAAA.BB and Y.AAAA.BB.
(cf. http://www.cookiecentral.com/faq/#3.3)

Is it possible to ask the .Net framework to set the session cookie to
..AAAA.BB instead of the full domain name of the current web site?

Many thanks for your help,
--
Benoît Rigaut
Nov 18 '05 #1
1 1463
by default no. nor is it possible with inproc sessions (as the session data
is in the appdomain of the vdir). if you use out of process sessions, and
take over session management you can do it.

-- bruce (sqlwork.com)
"Beno?t Rigaut" <br*****@printemps.com> wrote in message
news:87**************************@posting.google.c om...
I have 2 domains X.AAAA.BB and Y.AAAA.BB and I would like to share
sessions values between them.

According to the cookie specification it is possible to create a
cookie with a common domain setting: .AAAA.BB. Thus the browser will
send back the cookie to both of the web sites X.AAAA.BB and Y.AAAA.BB.
(cf. http://www.cookiecentral.com/faq/#3.3)

Is it possible to ask the .Net framework to set the session cookie to
.AAAA.BB instead of the full domain name of the current web site?

Many thanks for your help,
--
Benoît Rigaut

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

23
by: Jeff Rodriguez | last post by:
Here's what I want do: Have a main daemon which starts up several threads in a Boss-Queue structure. From those threads, I want them all to sit and watch a queue. Once an entry goes into the...
2
by: genojoe | last post by:
In simplified form, I have an RTF control and a timer. I use the timer to do an autoresave for the RFT control every 5 minutes. Here is the abridged code. Private Sub tmrAutoRecover_Tick(ByVal...
8
by: Pieter | last post by:
Hi, I'm having some weird problem using the BackGroundWorker in an Outlook (2003) Add-In, with VB.NET 2005: I'm using the BackGroundWorker to get the info of some mailitems, and after each item...
3
by: David Cartwright | last post by:
Hi all, I'm having a weird time with a call to the Refresh() method of a DataGridView. I have a VB.NET 2005 Windows application with a main form and a "worker" thread. The main form delegates a...
5
by: nospam | last post by:
Hi all. I have encountered a "Cross-thread operation not valid" error in a test program I created and although I have came up with a solution I don't like the performance of the program. I...
7
by: Paul | last post by:
Hi, I'm having a problem with my app. All its supposed to do is put the word "Check" in a listbox every 2 seconds! I'm getting a System.InvalidOperationException error, more specifically,...
6
by: greek_bill | last post by:
Hi, I'm interested in developing an application that needs to run on more than one operating system. Naturally, a lot of the code will be shared between the various OSs, with OS specific...
1
Raventara
by: Raventara | last post by:
Hi peoples.... This is a pain in the ass: Cross-thread operation not valid: Control 'TextBox1' accessed from a thread other than the thread it was created on. I am trying to update the text in...
1
jamesd0142
by: jamesd0142 | last post by:
Hi again, Im using vb 2005 Im using this code to watch a folder and log any changes etc... Imports System.IO Imports System.Diagnostics
11
by: Simon van Beek | last post by:
Dear reader, By opening an application I get always the main Access window with the closing cross in the above right corner. Is there a possibility to make this closing cross invisible? ...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.