I think I know what subdomains are and how they work, but www. - while
technically a subdomain - is attached to the same vhost/site as the
straight http version. That's why I am a bit confused.
Cheers
Stefan
On 10 Nov 2009, at 15:08, Kevin Pepperman wrote:
>
> By default CF sets the cook
By default CF sets the cookie in only the domain it is on."mydomain.com" But
cfcookie does not let you set the domain name for the cookie.
So you couldn't use the cookies session across sub domains. eg "
one.mydomain.com"
I have had situations where I had to overwrite the session cookies that CF
> Yes, I believe so. www is a 'subdomain', albeit a standard one, just like
> any other 'subdomain' (whatever.mysite.com for example) and each one
> represents a potentially different domain and therefore a different session.
While you're correct on the important parts, www (in this case at
leas
therefore they'll index
both of them. This is really bad for SEO purposes as search engines see this
as being duplicate content. : )
Paul Alkema
Application Developer
http://www.alkemadesigns.com/
On Tue, Nov 10, 2009 at 9:03 AM, Stefan Richter wrote:
>
> I'm using cflogin and cfl
ed into affiliate2's site and vice versa.
Dave Phillips
-Original Message-
From: Stefan Richter [mailto:ste...@flashcomguru.com]
Sent: Tuesday, November 10, 2009 8:03 AM
To: cf-talk
Subject: CFLogout confusion
I'm using cflogin and cflogout on my site.
A user is logged int
I'm using cflogin and cflogout on my site.
A user is logged into http://www.mysite.com and then clicks log out. I
run cflogout and redirect her to http://mysite.com (note I missed the
www off).
There seems to be some kind of double session going on when I
previously logged into
If i dump the session variable should i see the login details?
i.e. the username, password, and roles?
as i am not seeing them when i dump the session variables
~|
Enterprise web applications, build robust, secure
scalable app
>Do you have CFLOGIN associated with your session, or is it using a separate
>cookie (the default)?
Hi Dave,
I have it associated with the session in the application.cfc with the following
code:
Thanks
~|
ColdFusion 8 - Bui
Hi
Would someone be able to provide me with a simple example of how the cflogin
works in the application.cfc
i used the example in the coldfusion livedocs but encountering this problem so
would like to double check it to see what is missing
thanks very much
Richard
~~~
> I have also just noticed that when the session times out, the
> user is directed back to the login page but when i attempt to
> log back in it doesn't enter the cflogin tag, again it only
> does if i click the logout button
Do you have CFLOGIN associated with your session, or is it using a se
I have also just noticed that when the session times out, the user is directed
back to the login page but when i attempt to log back in it doesn't enter the
cflogin tag, again it only does if i click the logout button
this is very strange, i would appreciate any advice as i cant work out what
t
hi gary thanks for the reply. i tried what you said but for some strange reason
it is dumping all the session variables when the browser closes but then when i
restart the browser and start again, all the session variables are gone but it
is not entering the tag indicating that it is not loggin
If you aren't using session cookies the session of the user won't be expired
if they simply close the browser since the default expiration of cookies is
something like 2037. You can check this by looking for the cookies on your
machine. To change the normal cookies into session cookies (ones that
Hi,
i have the cflogin page set up on the application.cfc page as it is in
coldfusion livedocs.
i have a logout button on each page - when the user clicks the button it goes
to a page to set a session variable logoutrequested and sends the user back to
the login page. the application.cfc page
re I can get an example of using cflogin and cflogout
> with Application.cfc.
>
> I'm currently using Application.cfm and have notice that the when using
> cflogout the session still remains and althought the user is logged out you
> can still access the secure pages with t
Does anyone know where I can get an example of using cflogin and cflogout with
Application.cfc.
I'm currently using Application.cfm and have notice that the when using
cflogout the session still remains and althought the user is logged out you can
still access the secure pages with the
> I'm using the cflogout tag but I don't think the session was logged out.
> I managed to delete the cookie but the user can still get into the
> protected area after logout. This is the code for logout i'm using...
>
>
>
>
>
> http://localhost/applewo
ly or
don't use it until the Blackstone production release.
John Burns
From: Phillip Perry [mailto:[EMAIL PROTECTED]
Sent: Thu 11/4/2004 7:34 PM
To: CF-Talk
Subject: CFLOGOUT
Hi,
I'm using the cflogout tag but I don't think the session was logg
I think that worked. I got sent back to the login form.
Thanks
Phil
-Original Message-
From: Figy, Kam [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 7:46 PM
To: CF-Talk
Subject: RE: CFLOGOUT
To make sure the session is cleared, you could always call StructClear(
session
I dont know if they fixed anything but the cookie does get deleted
{Phil
-Original Message-
From: Jeff Congdon [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 7:41 PM
To: CF-Talk
Subject: Re: CFLOGOUT
have they fixed the problem where if you write a cookie, and then
To make sure the session is cleared, you could always call StructClear(
session )
Kam
-Original Message-
From: Phillip Perry [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 4:34 PM
To: CF-Talk
Subject: CFLOGOUT
Hi,
I'm using the cflogout tag but I don't think t
have they fixed the problem where if you write a cookie, and then
cflocate, the cookie never gets written? If not, that's probably your
problem. Try using a meta-refresh instead of a cflocation.
-jc
Phillip Perry wrote:
>Hi,
>
>I'm using the cflogout tag but I don'
Hi,
I'm using the cflogout tag but I don't think the session was logged out. I
managed to delete the cookie but the user can still get into the protected
area after logout. This is the code for logout i'm using...
http://localhost/applewood/mycommunity/index2.cfm";&g
If a user is authenticated into a site via CHAP which in turn generates the
cflogin structure which I use to setup a user via cflogin/cfloginuser how do
you ever log that user out of your application? I can do it no problem with
no CHAP.
Mike
[Todays Threads]
[This Message]
[Subscription]
[
ECTED]
Sent: Thursday, November 13, 2003 8:56 AM
To: CF-Talk
Subject: RE: cflogin/cflogout
Great, then just ignore my last email. ;) One of the best things about
MX 6.1 and cflogin is being able to tie it to a session and not worry
about syncing up the authentication and random session vari
Great, then just ignore my last email. ;) One of the best things about
MX 6.1 and cflogin is being able to tie it to a session and not worry
about syncing up the authentication and random session variables.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
> I did check my query, and it's working, though I had to put
So the query returned the right, new roles, and you are sure you are
passing it to the cfloginuser tag?
> in the loop to trim the results, as I 'm getting spaces
> appended by ValueList. I took out the piece checking for the
> defin
ge-
From: Rick Waugh
Sent: Thursday, November 13, 2003 8:42 AM
To: CF-Talk
Subject: RE: cflogin/cflogout
Yeah, and I'm looking at this, and I can't see making this work without it being there ... *sigh*.
-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PRO
Yeah, and I'm looking at this, and I can't see making this work without it being there ... *sigh*.
-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 8:35 AM
To: CF-Talk
Subject: RE: cflogin/cflogout
cfloginuser works o
cfloginuser works only inside cflogin tags
-Original Message-
From: Rick Waugh [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 11:37 AM
To: CF-Talk
Subject: RE: cflogin/cflogout
I did check my query, and it's working, though I had to put in the loop to
trim the re
he cflogin
structure exists. I don't know if cfloginuser will work on its own - I guess I could just elminate cflogin and see if that works.
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 8:13 AM
To: CF-Talk
Subject: RE: cflogin/cflog
>
> I thought the way the cflogin tagged worked was that it would
> not execute if the cflogin structure was defined, as that was
> done automatically on including the j_ tags in the input
> screen. But I'll try that, and see if it works.
Incorrect, the code inside cflogin will always fire if
s that was done automatically on including the j_ tags in the input screen. But I'll try that, and see if it works.
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 8:13 AM
To: CF-Talk
Subject: RE: cflogin/cflogout
In generla, the login code
In generla, the login code looks correctly (btw, you really don't need
all those locks) - one question for you - what happens if you do NOT
check for isdefined('cflogin') and instead check form.whatever, whatever
being the form fields you are using (I'm assuming j_username and
j_password). You woul
r("1","#emsg#","None","0",0)#
SELECT privilegeName
FROM userPrivilege,privilege
WHERE userPrivilege.userId = #ValidateUser.userId#
and userPrivilege.privilegeId = privilege.privilegeId
> I've seen lots of discussion on the cflogin issues, but I
> haven't seen a resolution. Sounds like the same problem I'm
> having. It doesn't look like cflogout is clearing the old
> session. Login works fine on initial call - I'm
> authenticating aga
I've seen lots of discussion on the cflogin issues, but I haven't seen a resolution. Sounds like the same problem I'm having. It doesn't look like cflogout is clearing the old session. Login works fine on initial call - I'm authenticating against our LDAP server, then usin
ge-
> From: PS Fong [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 28, 2003 9:39 PM
> To: CF-Talk
> Subject: cflogout bug??
>
>
> Dear fellows,
> I have a problem using cflogin and wish if someone can help
> clear my blue...
>
> The scenario:
> I logged in
Dear fellows,
I have a problem using cflogin and wish if someone can help clear my blue...
The scenario:
I logged in as Admin and have change the admin role from 'user' to 'administrator';
change the old password to new password. After logout (using cflogout) and I try to
39 matches
Mail list logo