-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Nick...nope...still no joy here :) Added those lines to both Application files.....tried to access both apps, closed browsers to ensure session data killed, re opened and app1 works as per before, test app sends me back to login every time.
Dean Brandt Clever Thinking Consulting Network/Systems Integration, Application Design Internet Presence Supplier/Hosting Specialists Melbourne, Australia Ph: 03-97492747 Mob: 0418488885 ...smart networks for smart business PGP Public Key: http://pgp.cleverthinking.net//DeanBrandt.asc - -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, 10 October 2003 9:53 PM To: FarCry Developers Subject: [farcry-dev] Re: failure to login @Dean i found out by running the code in debug mode that the session data was invalid. i.e. i logged into the admin of my first site then i launched another browser window and (tried to) logged in to my second site. The session id had jumped by 3. I expected it to jump 1. Anyhoohow, to fix it add the following chuck of code immediately below the <cfapplication... line in each of your site's Application.cfm files e.g. applications/myapp1/www.Application.cfm and applications/myapp2/www.Application.cfm <!--- NAL - START - 20031008 - DO NOT DELETE THIS ---> <!--- Reset the CFID and CFToken cookies to expire session and client variables after the user's browser closes. This is not necessary if you are using J2EE Session Management. ---> <cfif IsDefined("cookie.CFID") and IsDefined("cookie.CFToken")> <cfcookie name="CFID" value="#cookie.CFID#"> <cfcookie name="CFToken" value="#cookie.CFToken#"> </cfif> <!--- NAL - END - 20031008 - DO NOT DELETE THIS ---> this has fixed it for me. obviously i have chucked this together quickly (honest!) so i haven't tested it with anything but my 2 test sites here. N. ps credit where it's due...i found this routine in Rob Brooks-Bilson's Programming ColdFusion MX book -----Original Message----- From: [EMAIL PROTECTED] on behalf of Dean Brandt Sent: Fri 10/10/2003 10:38 To: FarCry Developers Cc: Subject: [farcry-dev] Re: failure to login -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Geoff, yes I actually followed that tech note to get started from day 1....and for your info, the reinstall has not worked either :( I did a full reinstall and I still cannot log into the second application. My apache httpd.conf for both applications looks like this: <VirtualHost *> ServerAdmin [EMAIL PROTECTED] DocumentRoot /var/www/html/app1/www ServerName app1.cleverthinking.com.au ErrorLog logs/app1-error_log CustomLog logs/app1-access_log common Alias /farcry "/var/www/html/farcry_core/admin" Alias /farcry_mwc "/var/www/html/app1/www" </VirtualHost> <VirtualHost *> ServerAdmin [EMAIL PROTECTED] DocumentRoot /var/www/html/farcry_test/www ServerName farcry_test.cleverthinking.com.au ErrorLog logs/ftest-error_log CustomLog logs/ftest-access_log common Alias /farcry "/var/www/html/farcry_core/admin" Alias /farcry_test "/var/www/html/farcry_test/www" </VirtualHost> So not sure what to do next? Thanks Dean Brandt Clever Thinking Consulting Network/Systems Integration, Application Design Internet Presence Supplier/Hosting Specialists Melbourne, Australia Ph: 03-97492747 Mob: 0418488885 ...smart networks for smart business PGP Public Key: http://pgp.cleverthinking.net//DeanBrandt.asc - -----Original Message----- From: Geoff Bowers [mailto:[EMAIL PROTECTED] Sent: Friday, 10 October 2003 7:23 PM To: FarCry Developers Subject: [farcry-dev] Re: failure to login Have you guys tried the great technote on Apache/mySQL install from Kai Konig of Germany? It may shed some light on your scenario: http://farcry.daemon.com.au/go/documentation/developers/tech-notes - -- geoff http://www.daemon.com.au/ [EMAIL PROTECTED] wrote: > fine - in fact you've confirmed what i suspected in that it's only > an issue with apache. i keep promising myself i'll investigat it > it's just that my apache setup is at work and my internal server > setup is at home which is where i do 99% of my farcry work. > anyhoohow i'll install apache this w/end and get to the bottom of > this sucker. > > N. - --- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: PGP 8.0.2 iQA/AwUBP4Z8Y7txbk0Vy5cMEQJ1IgCfbMZEj5UaUu1gFDBQ7pQzZswUiHwAoJwP /2m2Go73GODAqIOIpTzE4vsT =KgB2 -----END PGP SIGNATURE----- --- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] b.\&vj+?j^jvjwmrWzay"(?&?iZGj)mW?uV+-??f -----BEGIN PGP SIGNATURE----- Version: PGP 8.0.2 iQA/AwUBP4ahRrtxbk0Vy5cMEQI8EACg9/uPGYbmShAJTcmACamdq6iW8hMAnRRS VumgJFZHmxzWUL1KpXwEuWeA =bNTc -----END PGP SIGNATURE----- ��y˫���+.n�+�����ڭ��u�ڱ�܆+ޙ��j�!����d�{.n�+���zwZnV��隊[h��y��r��z�t�R���lu���w(��
