IIS ASP - Session interference?

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > March 2006 > Session interference?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Session interference?
Pupkin

2006-03-21, 5:56 pm

Hi,

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.
Pupkin

2006-03-21, 5:56 pm

In article <MPG.1e8a04ae6340cc869896b1@news.giganews.com>,
spamagnet@dorrk.com says...
> Hi,
>



Never mind. I found the problem, and it is me.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com