Sessions are bleeding each other

Hi all
I'm not new to CF, but I'm new to Application.cfc
I have just impltemented cela and now when I connect into our app like me, strange things begin to happen.
users who log on sions me, get my session. Sometimes I theres instead of mine.

Questions.
(1) should I use cflock autour cfsets on the session tags? If so, I'm doing this.
(2) I put in place for this test, a cfm page to clear the session vars. for some reason my session didn't sessionID variable. I'm not if this variable anywhere and can't see why my account is never a.


I have attached my app.cfc code.

He asks an another cfc that runs another function doLogin() but I see was that it is relevant to this question.

Thanks in advance.

Tim
[new version of attached App.cfc]

Hey guys,.
Update!

OK, 1 thing I forgot to mention, is that I have a configuration of the gateway of the Flex2CFM and the SWC is this Application.cfc. I don't know it will make a difference, but I thought I would mention it.

Also, I talked to the user who had 37 sessionID, he told me that he was accessing site via IP address not the DNS name. I asked to try the URL for DNS name and once I restarted the service, he received only 1 sessionID. I don't know, but it seems really strange to me. I still don't understand why that would be important.

My new App.cfc seems to work well, and as far as I know, I am not bleeding. Not that I had a way to see ahead, only emails and phone calls from angry users. the lack of calls and emails is a good sign

As I said, I have no idea what fixed this issue, if she is not yet set.
I think I'm at the latest service packs and patches. but I'll look again to make sure.

-The things I now in the Application.cfc---(je vais le poster aussi bien)
I put clientStorage to be a source of data in cfadmin and comment the setting here.

I put 2 params in onRequestStart()
session. LoggedIn = false
session.sessionID = «»

I removed all the fields unamortized cflog tags.

ALEXANDER,
suggestion 1, I completely deleted the cookie stuff.
suggestion 2, they seem identical to me, and I changed it to this:











... code to test and log user here...

Someone asked me to remove the lock here, but I still think it was the culpret:








Since it's the only place wherever the users CGI variable is stored, I guess it would be locked to avoid that it be replaced by the next request. I could be wrong, but right after that, I changed the emails and phone calls stopped :) but I did also many other changes at the same time. So who knows.

In any case, I will leave that open for now, and after today, I'll close it. but I think my problem is resolved.
I wanted to build a tester for it, but I don't have the time. I think that I could test saved items of sessionStruct against the IIS logs for the IP address that made the request. If the two identifiers do not match that should indicate a session of bleeding.

Adam, thank you for your time
Alexander, thank you as well
Everything else, I really appriaciate entry, it was extremely urgent problem and I'm very hopeful that it is now resolved, but only because I posted here, and you all made excellent suggestions.

Best regards.

Tim

Tags: ColdFusion

Similar Questions

  • Two sessions are locked each other in

    Hi all

    My database is Exadata machine. 11.2
    These days, we met a case, it's two sessions is always blocked by the other. I get this info from v$ session blocking_session.
    For examle, the information looks like

    event blocking_session sid
    1 locking cache libarary 2
    2 lock hiding 1 row

    and as you know there are a lot of other sessions are blocked by sid 1.

    In lookiing upwards of v$ sql, I got the SQL for these 2 sessions.

    / * QSMQ VALIDATION * / ALTER SUMMARY 'XXXXX '. "" Gxxx_CP_CAL_TIME_TEMP_MV "COMPILATION

    / * QSMQ VALIDATION * / ALTER SUMMARY 'XXXXX '. "" Gxxx_CP_CAL_TIME_MV "COMPILATION

    Two of these MV 2 share some underlying objects. And both of the 2 sessions began at around the same time.
    If the compilation must face the lock on the object, why the 2 sessions block each other?

    Can someone give me some advice, please?

    Best regards
    Leon

    event blocking_session sid
    1 locking cache libarary 2
    2 lock hiding 1 row

    These aren't waiting for line lock (TX Enqueue waits). These are expectations about the dictionary cache - for example to prevent the DDL (ALTER, COMPILE, CREATE etc.) running while DML is still ongoing. This ensures that dependencies are maintained.

    (if you have a transaction that retrieves 4 columns in a table and another session adds or deletes a column, while the transaction is in progress? how oracle would ensure that the "structure" of the table remains consistent? the DOF is prevented and waits for a lock on the library cache).

    The cache line is the data dictionary cache.

    Hemant K Collette

  • Signs of bleeding each other - not on other browsers site

    I joined and example. The site is www.itsmf.org.za

    When I look on Safari, Chrome or Opera, it's fine, but he's bleeding, in this way, with firefox.

    I am running firefox: 41.0.1
    I'm running OS/x: 10.11 (A 15, 284)

    Any suggestions to fix this would be appreciated!

    The image is not be effectively reduced to fit the available space. (Seal of screenshot, right click on the image > inspect element.) Not sure if this is something that the person put the picture on the page was to calculate or a problem in Joomla itself, but it's about 100 pixels too wide.

  • inDesign CC overlaping each other when exporting pages

    I created a document with 8 pages, 1 front, 1 rear and 6 inside facing pages.  When I'm working on the document, everything works fine.  However when I export, 6 pages inside, 3 of the pages keep overlaping with their counterparts.  The measures are all very well, and each page is legitimate in its place.  The question is in the background.  As you can see in the image below, it seems that the two pages are overlapping each other.  I had an image to cover two pages on photoshop and two pages always overlap only when it is exported.

    inDesign problem.jpg

    Looks like you set an inside bleed value.

  • How to select and move more than one bookmark at a time? Shift + click selects multiple items that are next to each other in a list, because the element

    How to select and move more than one bookmark at a time?
    Shift + click selects multiple items that are next to each other in a list, because the items open in firefox before that happens.

    Glad it worked for you. Thanks for posting back.

  • Floppy disks to install Windows 7 and the product keys are exclusive to each other?

    Floppy disks to install Windows 7 and the product keys are exclusive to each other?  Or can I use a disc that I have to restore the windows on a second laptop and activate it with a different product key?  It is not a question to find out how many users I can put in place, but whether the disk and product key are mutually exclusive.

    As long as the product key matches the edition, it should work perfectly, no exclusivity.

  • 2. separate menu which are unrelated to each other

    need to have 2 separate menu that are not related to each other

    Hello

    You can try the Menu manual. In this game you decide the sequence of each Menu item

    To activate the Menu manual

    • Create a menu in design mode
    • Click on Options (the blue circle top-right)
    • Select the type of Menu as manual
    • Then select the Menu item and click on '+' sign to add several menu items and customize according to your need

    If you're talking about something else then give use more details on what you're trying to do.

    Concerning

    Vivek

  • I have a document composed of separate PDF files that reside in a folder and are related to each other through hyperlinks. Each pdf file is set to open with bookmarks displayed, however if I have a link to a PDF file to another and use the button "Previou

    I have a document composed of separate PDF files that reside in a folder and are related to each other through hyperlinks. Each pdf file is configurΘ for dΘmarrer with bookmarks displayed, however if I have a link to one PDF file to another and use the "back" button to return to my starting point bookmarks are replaced by "vignette". Is there anyway to prevent this?

    Hi Mike,.

    While the implementation of the links, if you choose to open the file in a new window then you will not experience this issue, then you can simply switch to the file view and previous bookmark will remain as it is.

    Is that what helps with your query?

    Kind regards
    Rahul

  • Just downloaded book dear DW CC. ' Bought that tells me to use "Workspace expanded", but the only options I see in the button of the window or workspace are 'Design' excerpt ' and from each other. No where can I find the 'Expand' or 'Compact' that says th

    Just downloaded book dear DW CC. ' Bought that tells me to use "Workspace expanded", but the only options I see in the button of the window or workspace are 'Design' excerpt ' and from each other. No where can I find the 'Expand' or 'Compact' that says that books are the two choices.

    The book you bought is for an older version of DW.  Which one, I don't know.  Changed a lot in the 2013, 2014 in June and October 2014,1 releases of CC.  Books are usually at least 1 version and sometimes 2 obsolete versions.

    CC 13

    Using Dreamweaver | Summary of new features

    CC 20141

    Using Dreamweaver | Summary of new features

    Nancy O.

  • 2 vSpheres cannot ping each other that are built on vSphere.

    On host A, which is vSpere 4.0, made up of two hosts who are vSpheres 4.0 with vSwitch. Each can ping itself, but cannot ping each other, too, cannot ping A host. After that the two hosts are moved to dvSwich, has achieved some results. But another VM on the dvSwitch is fine.

    Moreover, I need to practice the vHA and vmotion. So, I need two some configuration for her guests. As a result, I built two hosts on A host.

    How can I solve this problem?

    Thank you!

    George

    George,

    You must set the Promiscuous Mode to Accept on vSwitch guests (--> security properties).

    André

  • ORA-12721: operation cannot be performed when other sessions are active

    Hello
    I started my database like this:
    1) Change INIT.ORA file;  unset parallel_server parameter.
    2) Execute these commands:
    STARTUP MOUNT ;
    ALTER SYSTEM ENABLE RESTRICTED SESSION;
    ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
    ALTER SYSTEM SET AQ_TM_PROCESSES=0;
    ALTER DATABASE OPEN;
    SHUTDOWN IMMEDIATE;
    
    SQL> STARTUP RESTRICT  pfile='C:\oracle\product\10.2.0\db_1\database\initORCL.ora';
    ORACLE instance started.
    
    
    SQL> alter database national character set INTERNAL_CONVERT UTF8;
    alter database national character set INTERNAL_CONVERT UTF8
    *
    ERROR at line 1:
    ORA-12721: operation cannot execute when other sessions are active
    Sorry for the duplicate.

    Published by: user522961 on December 10, 2008 01:51

    >
    ORA-12721: operation cannot be performed when other sessions are active
    Cause: This command can only be run when there is no other active sessions
    Action: Ensure that there is no other connections to the database >
    HTH
    Aman...

  • Students are able to have conversations with each other, for fun?

    This college is online, students would not be able to see their "comrades". I would like to know if the students would be able to talk to each other for fun.

    Thisvivian if you have any questions about Photoshop, Illustrator and Dreamweaver so I would recommend post on the following forums:

  • ASA - Tunnel all traffic, allow rays to communicate with each other

    Well, I hope someone can help me with this headache! Switching to employ a PIX and VPN 3005 concentrator Office at home in an ASA5510 for firewall and IPSEC tunnels. It is pretty much a

    • VPN on a stick, multiple rays.
    • All traffic sent by tunnel
    • Internet access through main office (using the web filter) of
    • VOIP to VOIP between rays
    • All departments are using the clients VPN 3005 HW or ASA 5505 s

    HEADQUARTERS: 10.0.0.0/24

    Speaks 1: 192.168.11.0 / 24

    Speaks 2: 192.168.12.0 / 24

    Speaks 3: 192.168.13.0 / 24

    -continues to 192.168.31.0 / 24

    Spoke with the current configuration, 1 can communicate with all the resources in the home, office and Internet integrated properly checked by a tracert. However, the rays cannot communicate with each other. This is required for VOIP traffic, when all TALK TALK calls are made (sites).

    Logging information when talk of talks initiated icmp:

    • No group of translation found for icmp src, dst outside: 192.168.31.1 inside: 192.168.11.1 (type 8, code 0)

    If I remove the nat (outside) 1 192.168.0.0 255.255.00 - rays will begin to respond to each other, but then the rays cannot tunnel through the Home Office Internet traffic. My brain is so scrambled after the cramming of VPN configurations for these days, so I hope someone has an idea. I've always used concentrators 3005, so it's a little different! In the search for documentation for this configuration, I was surprised that this isn't a most common topology. It seems that this article would (http://www.cisco.com/en/US/products/ps6120/products_configuration_example09186a00805734ae.shtml), but there is no rays! In any case, I'm sure this has something to do with NAT rules and perhaps who need access for traffic list speaks of talking.

    =============================================

    ASA Version 8.2 (1)
    !
    hostname asa5510

    interface Ethernet0/0
    Speed 100
    full duplex
    nameif outside
    security-level 0
    IP address 97.65.x.x 255.255.255.224

    interface Ethernet0/1
    Speed 100
    full duplex
    nameif inside
    security-level 100
    IP 10.0.0.40 255.255.0.0

    permit same-security-traffic inter-interface

    permit same-security-traffic intra-interface

    the DM_INLINE_NETWORK_1 object-group network
    object-network 10.0.0.0 255.255.0.0

    object-network 192.168.0.0 255.255.0.0

    access-list sheep extended ip 10.0.0.0 allow 255.255.0.0 192.168.0.0 255.255.0.0

    Allow Access-list extended wccp servers ip host 10.0.0.83 a

    Redirect traffic extended access-list deny ip any object-group DM_INLINE_NETWORK_1

    Redirect traffic scope permitted any one ip access-list

    Global 1 interface (outside)
    NAT (outside) 1 192.168.0.0 255.255.0.0
    NAT (inside) 0 access-list sheep
    NAT (inside) 1 10.0.0.0 255.255.0.0

    Route outside 0.0.0.0 0.0.0.0 97.65.x.x 1
    Route inside 192.168.0.0 255.255.255.0 10.0.0.1 1
    Route inside 192.168.2.0 255.255.255.0 10.0.0.1 1
    Route inside 192.168.3.0 255.255.255.0 10.0.0.1 1

    Crypto ipsec transform-set esp-3des esp-md5-hmac RIGHT
    life crypto ipsec security association seconds 28800
    Crypto ipsec kilobytes of life - safety 4608000 association
    Crypto ipsec df - bit clear-df outdoors

    Crypto-map dynamic dynmap 1 transform-set RIGHT

    map mymap 65535-isakmp ipsec crypto dynamic dynmap

    mymap outside crypto map interface

    crypto isakmp identity address

    crypto ISAKMP allow outside

    crypto ISAKMP policy 5
    preshared authentication
    3des encryption
    sha hash
    Group 2
    life 86400

    crypto ISAKMP policy 10
    preshared authentication
    3des encryption
    md5 hash
    Group 2
    life 86400

    crypto ISAKMP ipsec-over-tcp port 10000

    management-access inside

    a basic threat threat detection

    no statistical access list - a threat detection
    no statistical threat detection tcp-interception

    WCCP web cache redirect-list Redirect-traffic group-list password xxxxxxx wccp-servers
    WCCP 90 redirect-list traffic Redirect wccp servers group-list password xxxxxxx

    WebVPN

    internal MJHIvpn group strategy

    attributes of Group Policy MJHIvpn
    value of server WINS 10.0.10.1 10.0.10.2
    value of 10.0.10.1 DNS server 10.0.10.2
    allow password-storage
    Split-tunnel-policy tunnelall
    mjhi.local value by default-field
    allow to NEM

    username field-3002 SjfS1Pq2xZGxHicx encrypted password

    attributes of username field-3002
    VPN-access-hour no
    VPN - 250 simultaneous connections
    VPN-idle-timeout no
    VPN-session-timeout no
    Protocol-tunnel-VPN IPSec
    allow password-storage
    type of remote access service

    remote access to field tunnel-group type

    General-field tunnel-group attributes
    Group Policy - by default-MJHIvpn

    IPSec-attributes of tunnel-group field
    pre-shared-key *.

    class-map inspection_default
    match default-inspection-traffic
    !
    !
    type of policy-card inspect dns preset_dns_map
    parameters
    message-length maximum 512
    Policy-map global_policy
    class inspection_default
    inspect the preset_dns_map dns
    inspect the ftp
    inspect h323 h225
    inspect the h323 ras
    inspect the rsh
    inspect the rtsp
    inspect sqlnet
    inspect the skinny
    inspect sunrpc
    inspect xdmcp
    inspect the sip
    inspect the netbios
    inspect the tftp
    inspect the they
    inspect the icmp
    !
    global service-policy global_policy

    Hello Ala,

    In Act got to be with the Nat configuration.

    So basically you want to tunnel the traffic on the rays to communicate with each other.

    OK, it would be with a nat 0 with the access list with the corresponding traffic outside.

    Also on the crypto ACL for each site configuration, you must add an entry for the traffic of other offices.

    I hope that I have explained myself.

    Have a good

    Julio

    Note all useful posts!

  • If 2 Airport extreme can stay connected to each other using their LAN ports?

    Hello friends,

    I would like to know if 2 Airport extreme or 1 Airport Extreme and Airport Express can stay connected to each other using LAN ports at the ends? I thought this is the LAN port 1 connected to the WAN port on the 2nd.

    Thank you

    To clarify the issue and the scenario, one of my friend described a typical scenario in which there are 2 AEs. AE1 has an ISP in its port WAN and AE2 has a different ISP in its WAN port. This 2 AE can mutually connected between them by using ports LAN AE1 and AE2 ethernet cable? He said this could be feasible if AE2 remained in bridged mode, without using the ISP attached to its WAN port. I just don't get how this is possible. Friends of the search help.

    Thank you

  • Can I allow an application for one person on my family share but does not allow for each other?

    Can I allow an application for one person on my family share but does not allow for each other?

    You can't delegate who has access and who doesn't have access to the applications. You can lock devices with age restrictions, so only items appropriate age are at their disposal. Or you can hide your list purchases. The purchased app can then be displayed when you want to share with someone else, then be hidden again once the application is downloaded on their device.

    I hope this helps.

    SI10

Maybe you are looking for

  • Failure of the Airport Extreme and Airport Express

    Airport Extreme not to talk to the device POE from the antenna of radio after a thunderstorm (lightning).  Plug the POE ethernet cable directly into Mac works.  Airport Express lights.  Airport Extreme appears, but there is no internet connection.  A

  • Photos as attachments

    Since the last update El Capitan, all attachments are now included in the body of emails sent. It's so frustrating, especially when the Envoy to the PC or systems not Apple. Is there a solution? Ta

  • Portege R630 - how to clean cooling system?

    I've had my Portege R630 for a few months now and I love it. HOWEVER! Small snag. I live is a House with 3 other people and it gets pretty dusty. Not really bad, but I'm not going to lie it's almost clinical environment. Now, my R630 started having w

  • Tecra A8: How to disassemble the keyboard?

    I would like to disassemble the keyboard in my Tecra A8. Is there a guide to disassembly on the web?

  • Problem with writing worksheet

    Hello Guys can anbody help me with this thing, I have problem with the writing of the spreadsheet file. I'm uploading a picture of my program in LabVIEW. When I run program works as well and excel file is populated with the data that I've seen the si