Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dropping cookies in different directory

Status
Not open for further replies.

n2ckb

Programmer
Jun 8, 2001
65
GB
Hi Guys,

I have an unusual problem that is really difficult to explain, but please bear with me.

I have taken over an asp project that is currently working on a development server on our company intranet. I had to fix the bugs, so I setup PWS on my PC and copied the entire directory to my local machine. I have fixed the bugs, and copied it to a new directory on the development server, setting up the IIS in exactly the same way as the original directory. At certain points the ASP pages call another server.
I have two problems.

On my local machine, the first time I login (Opens an Access database) it works fine. If I logout, which calls a session_abandon, and log back in, it drops all of my session cookies and asp errors occur.

In the newly-copied directory on the development server, it fails on the first attempt, and doesn't store any of the session cookies at all.

However, this is the strange thing... If I backup the original pages and overwrite them with the new changes, the site works fine - all bugs repaired. If I take it out of the original development directory it doesn't work!

I am positive that the IIS virtual directories are setup exactly the same, so if anyone has any ideas I would be most grateful.
I have to move it to the live server soon, and expect the same thing to happen.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top