They already *do* share the same application name.... The problem seems to be with setting the jsession cookie: I go to site-a, get a jsession cookie, then when i follow a link to site-b i need to have the same jsession cookie set for that domain. If i pass the in the URL (?jsessionid=#session.sessionID# or ?#session.urltoken# or URLsessionFormat() ) then the session is shared, but no cookie is set on site-b, and so the session is only available on site-b when the ID is passed in the URL. If i try to manually set a jsessionid cookie on site-b then it is re-set whenever i follow a link without the ID in the URL, as if JRun can recognise that it is not a cookie set by JRun...
I currently do the same thing using cfid and cftoken, and it works fine, but i need to move to jsessions and this is proving to be a bit of a stumbling block Bert On Tue, 18 Jan 2005 11:57:44 -0000, Tim Blair <[EMAIL PROTECTED]> wrote: > > Is it possible to run 2 websites on a single CF server, and > > for a user to have the same Jsession on both sites? > > The easiest way would be to have the same application name in your > <cfapplication> tag on each site. Of course, both sites would also > share the same application scope etc too. > > Tim. > > -- > ------------------------------------------------------- > Badpen Tech - CF and web-tech: http://tech.badpen.com/ > ------------------------------------------------------- > RAWNET LTD - independent digital media agency > "We are big, we are funny and we are clever!" > New site launched at http://www.rawnet.com/ > ------------------------------------------------------- > This message may contain information which is legally > privileged and/or confidential. If you are not the > intended recipient, you are hereby notified that any > unauthorised disclosure, copying, distribution or use > of this information is strictly prohibited. Such > notification notwithstanding, any comments, opinions, > information or conclusions expressed in this message > are those of the originator, not of rawnet limited, > unless otherwise explicitly and independently indicated > by an authorised representative of rawnet limited. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190910 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

