Simple Question I think jsessionid

Ask a Question related to Coldfusion - Getting Started, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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
    4. 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...
    5. 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...
  3. #2

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139