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 > > ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. 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

