hmmmm...well ya got me.  It may have something to do with the cookies being
associated with the domain that the user initially logs in from???  Anybody
care to comment?

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

---------------------------------------------------------
Macromedia Associate Partner
www.macromedia.com
---------------------------------------------------------
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
----- Original Message -----
From: "Bruce, Rodney S HQISEC/SIGNAL" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, September 26, 2002 4:52 PM
Subject: RE: mulit Servers


> the cookies are set on the login page.
> press a submit button
>
> and the cookies are being displayed on the next page fine, but when the
user
> is sent to another server/site,  the cookies are lost.
>
> when tested for at the next site cookies are not there.
>
> we have tried both <a href> and CFLOCATION with no luck.
>
>
>
> -----Original Message-----
> From: Bryan Stevenson [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 26, 2002 4:29 PM
> To: CF-Talk
> Subject: Re: mulit Servers
>
>
> ahhhh..make sure if you set the cookie that you don't use cflocation after
> it...the cookie will not get set.  If you have to use CFLOCATION after the
> cookie setting then you can use this...
>
> <CFCOOKIE name="userid"   value="1">
> <cfheader name="location" value="url to go to">
>
> HTH
>
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> t. 250.920.8830
> e. [EMAIL PROTECTED]
>
> ---------------------------------------------------------
> Macromedia Associate Partner
> www.macromedia.com
> ---------------------------------------------------------
> Vancouver Island ColdFusion Users Group
> Founder & Director
> www.cfug-vancouverisland.com
> ----- Original Message -----
> From: "Bruce, Rodney S HQISEC/SIGNAL" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, September 26, 2002 4:12 PM
> Subject: RE: mulit Servers
>
>
> > Thanks for suggestion
> >
> > We are trying it but must be missing something.
> >
> > If we log in on the portal server itself, the cookie values can be
> accesses
> > and viewed, so they seem to be being set.
> >
> > but when we log on at a workstation the cookies  don't seem to being set
> or
> > are disappearing between pages.
> >
> > being set on log in page
> > <CFCOOKIE name="userid"   value="1">
> >
> >
> > on next page just simply trying to output it.
> >
> > <CFOUTPUT>
> > #cookie.userid#
> > </CFOUTPUT>
> >
> >
> > outputs find on server, but not on client.
> >
> > what are we missing?
> >
> > Thanks
> > Rodney
> >
> >
> >
> >
> >
> > -----Original Message-----
> > From: Bryan Stevenson [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, September 26, 2002 3:05 PM
> > To: CF-Talk
> > Subject: Re: mulit Servers
> >
> >
> > non-persistent cookies
> >
> > <cfcookie name="PortalUser" value="#qSuccesfulLogin.Session_ID#">
> >
> > How it flows:
> >
> > -user logs in
> > -a successful login adds a record to the session table storing the users
> ID
> > and a primary key of Session_ID
> > -set the cookie as above giving it the value of the session_ID created
> when
> > the user logged in
> > -run a query on all secure pages to pull back security details (not
> knowing
> > your setup I can't comment)...do this via application.cfm
> >
> >
> > Ok so the cookie will follow the user from "site" to "site" (server to
> > server).  All you need to do is make sure the cookie is defined (or kick
> > them to a login form), and use it's value (session_ID) to yank that
users
> > security details (joining the session table to the security table via
> > user_ID).
> >
> > Bookmarking isn't a problem, because once they close their browser the
> > cookie is gone (being non-persistent).
> >
> > Hope that made sense...kinda busy today ;-)
> >
> > If ya need more info...just ask.
> >
> > Bryan Stevenson B.Comm.
> > VP & Director of E-Commerce Development
> > Electric Edge Systems Group Inc.
> > t. 250.920.8830
> > e. [EMAIL PROTECTED]
> >
> > ---------------------------------------------------------
> > Macromedia Associate Partner
> > www.macromedia.com
> > ---------------------------------------------------------
> > Vancouver Island ColdFusion Users Group
> > Founder & Director
> > www.cfug-vancouverisland.com
> > ----- Original Message -----
> > From: "Bruce, Rodney S HQISEC/SIGNAL" <[EMAIL PROTECTED]>
> > To: "CF-Talk" <[EMAIL PROTECTED]>
> > Sent: Thursday, September 26, 2002 2:35 PM
> > Subject: mulit Servers
> >
> >
> > > Hi all
> > >
> > > looking for best way of maintaining a session over different
> > servers/sites.
> > >
> > > What we are trying to do is:
> > >
> > > User is at a "PORTAL" logs in and gets a menu of all internal (lack of
> > > better word), websites he has access to. (the Portal is on one
server).
> > >
> > > User makes selection and gets passed to chosen site (each site is on
> it's
> > > own server).
> > > (each server/site controls the users access within that site.  a user
> > maybe
> > > a "user" on one site and an administrator on another).
> > >
> > > When user is done at the website, either completely signs out or gets
> > passed
> > > back to the PORTAL to then possibly get sent to another internal site.
> > >
> > > The only pieces of information that need to get passed are the userID
> and
> > > that the user has logged in at the portal(login=true).  each site is
> > > independent of the others and contains all needed information for that
> > site
> > > (yes unfortunately information is being duped, but can't be helped at
> this
> > > point).
> > >
> > > Sense none of the servers talk with each other, the only way we can
> think
> > of
> > > is to pass the info in the URL,  but then if the user happens to
> bookmark
> > a
> > > page, the info is there and the next time the user can bypass the
portal
> > and
> > > go straight to the book marked page.
> > >
> > > Does anyone know another way of doing this?
> > > Thanks
> > > Rodney
> > >
> > >
> >
> >
>
> 
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to