Back when I was learning cold fusion I did a tag called roaming sessions
that would allow you to do this if you were using session variables. I
wanted a way to use session variables in a clustered environment, without
resorting to "sticky" sessions.Its available on the tag gallery.  The code
is a bit messy and could stand to be cleaned up and optimized a bit. It also
used hidden forms but could easily be modified to use javascript to append
the necessary wddx packet to a url instead. Its free, so go ahead and try
it.

http://devex.allaire.com/developer/gallery/info.cfm?ID=CA347811-2830-11D4-AA
9700508B94F380&method=Full

Fred

----- Original Message -----
From: "Jim Priest" <[EMAIL PROTECTED]>
To: "Fusebox" <[EMAIL PROTECTED]>
Sent: Wednesday, January 24, 2001 10:00 AM
Subject: keeping a user logged in across totally different URL's


> I'm working on a game site and have the company 'home' page about done -
now
> I'm running into an odd problem I'm not sure how to solve.  The
> gamesite is currently www.companyname.com but they also have urls for
> quite a few of thier games - www.game1.com, www.game2.com.
>
> I've built a system where people can surf around but to reach certain
> areas they need to login (forums, tech support) and am now wondering
> how the user can login at www.companyname.com and then go to
> www.game1.com and still be 'logged in'...
>
> We're moving this site to a new server, and have talked about redoing
> some URL's maybe do: game1.companyname.com  or
> www.companyname.com/game1/  so that is possible if it would make
> things easier...
>
> Anyone ever run into this before and if so what are my options? Is it
> possible to write a cookie that could keep the user 'logged in' across
> different urls?  Currently I'm not using any cookies just passing
> around #urltoken#.
>
> Hope this is somewhat clear - haven't had my caffeine yet this
> morning. :)
>
> jim
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to