|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Session interference?
I have a dev site and a live site. On the dev site I have code in every page that checks for a querystring value and stores it in a session so if the user submits a contact form at any time during their visit, the session value gets passed along with the form data. if not request.querystring("source") = "" then session("RefererEntrySource") = request.querystring("source") else session("RefererEntrySource") = session("RefererEntrySource") end if It works fine on the dev site. When I copy the files from the dev site to the live site however, it stops working. The session value is null by the time they reach the form. As far as I can tell, the environments are identical: Both sites are on the same server (W2k). Both tests are done with the same installation of IE6 on the same XP Pro laptop (the browser is closed between each test; I also did tests with Firefox, and the behavior is identical to IE). The code has been copied from the working dev site to the live site with no editing. Any idea what might be interfering with the session on one site but not the other? I've compared site settings in IIS 5 and don't notice any differences beyond the site root folders, or course, and the domain names. Thanks. |
|||||||||||||||||||||||