Session Variables / IIS Virtual Hosting

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Session Variables / IIS Virtual Hosting

    i am working on setting up a website that is on a shared windows server we have
    and coldfusion won't hold the session variables. ie. if i set the var on one
    page as #session.varname# and output it on that page, it's fine. if i try to
    set it one page then output it on another page, it's empty. it's on IIS 5 and
    the original website i set up is working fine. the datasources all work from
    site to site, but this doesn't seem to. it's kind of an emergency if anyone
    can help, i would really appreciate it. thanks!

    blst Guest

  2. Similar Questions and Discussions

    1. #39447 [NEW]: Want to optionally handle apc_upload_progress variables using session variables
      From: krudtaa at yahoo dot com Operating system: All PHP version: 5.2.0 PHP Bug Type: Feature/Change Request Bug...
    2. Virtual Flash Communication Server Hosting
      I think I understand now how to create seperate virtual hosts within FCS. The problem now is I need to be able to measure bandwidth by each...
    3. development setup with virtual hosting for Windows
      Hi - I want to set up Apache, PHP and MySQL to work on my home pc so that I can test and make changes to sites before I upload them. I've noticed...
    4. Virtual hosting with WEBrick?
      Hi, I'm checking out WEBrick and it looks great. I wonder if there is some easy way to do "virtual hosting" so that I can host several domains...
    5. Application and Session variables visible in Virtual Directories
      Hi, If a virtual directory set as application then it got is own set of sessions. Natty Gur, CTO Dao2Com Ltd. 28th Baruch Hirsch st....
  3. #2

    Default Re: Session Variables / IIS Virtual Hosting

    1. Make sure you have enabled SESSIONMANAGEMENT="Yes" CLIENTMANAGEMENT="Yes" inside Application.cfm

    2. If that still doesn't work, embed variable #SESSION.URLTOKEN# to your link to another page.
    Sameer Guest

  4. #3

    Default Re: Session Variables / IIS Virtual Hosting

    thanks for the reply, but i don't seem to find Application.cfm on the server.
    also, it works for the other sites on the server, just not this one. i have't
    ran into this before, and i have not done anything special when setting up the
    other sites. when i put the same test pages on another virtual site on the
    same server, i get the CFID=&CFTOKEN= in the url, but not on this one.

    blst Guest

  5. #4

    Default Re: Session Variables / IIS Virtual Hosting

    You just answered your own question.........."i don't seem to find
    Application.cfm "...........you must have this as this file tells the server to
    switch on the session management capabilities as specified by you with
    <CFAPPLICATION> tag.

    Sameer Guest

  6. #5

    Default Re: Session Variables / IIS Virtual Hosting

    sameer, as you were probably typing that, i realized what had happened. i created the app.cfm file and all is well. thanks very much. too bad i wasted about 1.5 hrs trying to fix it before asking.


    blst Guest

  7. #6

    Default Re: Session Variables / IIS Virtual Hosting

    Well, it wasn't a waste.......you learnt the hard way......as most of us did.......;)
    Sameer 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