Ask a Question related to Coldfusion - Getting Started, Design and Development.
-
jlkmeyers #1
Simple Question I think re: jsessionid
I think this is a simple question but I can't find a straightforward answer. We
have CFMX 6.1 using j2ee session set in CF Admin. 2 questions regarding cookies
First related to test environment and debugging on in test environment.... When
on my local machine, which is where I do my testing/debugging. I am currently
testing cookies and what happens with the site if cookies are disabled. I set
a cookie in the application.cfm and test for it. Even though I have cookies
disabled the debug still shows that the cookie was created and cold fusion
appears to read it as if it was created even though the browser doesn't show
any cookie variables when I go to my cookies folder in IE or view cookies in
Firefox. However, when I do a isDefined for cookie.jsessionid, it doesn't find
it. The debug in firefox doesn't display it, but the debug in IE does display
it as a cookie variable, even though I have cookies disabled and have deleted
out all cookies. Does the debug not reflect exactly what the browser is
reading/seeing in IE? 2nd question related to j2ee session and if they are
meant not to work if cookies disabled... (test here done in Firefox and IE6 on
a PC WinXP) When I have cookies disabled (the cookie.jsessionid doesn't get
created) and I try to add an item to my cart in my site [url]www.eteeonline.com[/url], it
says that I didn't add anything to the site. As soon as I allow cookies for the
site I can add to cart without a problem. It seems that as soon as the
jsessionid cookie can be created that everything is fine. Is there a way to get
the site to work under j2ee sessions when cookies are disabled in the browser?
Some people say they do have their cookies enabled and they are still seeing
the same problem. Its as if the session keeps changing for them. And those
users who use AOL experience the presumed loss of session quite a bit.
Unfortunately, when I have cookies enabled (like they say they do) I can't
repeat the problems they are describing. Does anyone else have problems with
AOL users? My settings for cfapplication are: <cfapplication
name='#Request.DS#' clientmanagement='No' sessionmanagement='Yes'
setclientcookies='No'> Overall I'd like the site to work for all users,
cookies disabled or not disabled, however if I have to do a check for cookies
is it best to do a check for the existence of cookie.jsessionid to determine
whether cookies are supported by the browser or not rather than a check for
another cookie set in application.cfm since CF seems to think the cookie exists
when the browser doesn't think it does? One another site I have a check for
cookies enabled/disabled using cookie.jsessionid but sometimes when I go to the
site and even though the cookies are enabled I get the cookies required message
but when I go back right after I get the login page. It acts as if it takes at
least two visits to initiate the jsession cookie even though the debug shows it
exists the first time I go to the page.
[url]www.missionimprintables.com/login/login.cfm[/url] I've been reading and searching
the internet high and low to see if others are experiencing these behaviors but
haven't found anything concrete.
jlkmeyers Guest
-
Need Simple Answer to Simple Contribute/Firefox question
Hello all; I've tried the Adobe help in CS3, tech support, phone support, this forum, other forums, Mozilla, and nowhere can I get a straight... -
jsessionid
Hello all.... Please help i need some input here. Im trying to develop a login/authentication/security framework in Coldfusion for some apps im... -
URLSessionFormat, jsessionid problems with IIS
hi do you realy have this with MX 6.1??? i cannot repro this - but i have this in MX7, too! Regards Marc -
How to shut off jsessionID
Hello, everyone I just installed CF7 enterprise server and made sure j2ee sessions is not clicked but we are getting a jsessionsId in the url which... -
Make ;jsessionid work in IIS
Sounds like a bad bug. cflocation should be adding ?jsessionID=whatever instead. Have you applied Updater 1? Do you get the same results with Updater... -
marman #2
Re: Simple Question I think re: jsessionid
Yeah im seeing the same in IE8 and Mozilla 4. IE creates a cookie even if the cookies are disabled, Mozilla doesnt create one and the application never opens, even if URLRewriting is enabled for the webcontainer along with enable cookies. I thought it would fallback to URLRewriting in case the cookies were disabled but somehow disabling cookies in the browser for mozilla does not allow me to login to the application.
marman Guest



Reply With Quote

