Hey all, this is my first post so bear with me. I'm currently taking over a position where a majority of the scripting has been done in asp. However, I strongly prefer PHP to ASP and my superiors want to make the switch.

In the meantime I'm having trouble getting the kids (PHP and ASP) to play nice. What we are doing is a combination of online registration and over the phone registration for programs. We have a limit on class sizes which my online registration takes into account. However, with the option to register over the phone there are times when a class fills up and someone who has registered over the phone gets left out because the database wasn't update.

So, to fix this problem I was told to put in an admin site that will allow the department heads to manually enter a registration that took over the phone into our databases by using my online registration process. My main page keeps track of a cookie that tells the registration process to skip our billing server, allowing the department head to put in all the information without any billing (which was already taken care of over the phone).

My problem occurs when I leave the admin site (Where the department heads simply choose their department, since we are all on the same server only they are given access and thus no password is needed) and hit the first asp page. My cookies disappear. I have absolutely no idea why. And as you might have gathered I didn't write this code. It was here when I arrived. Any Ideas as to why this is occuring? Again I'm pretty new to both languages but I was under the impression cookies could be transfered between the too.

Thanks, and if any code is required to help let me know. This seemed more of a conceptual question though.

Matt
MoStateWeb

    Cookies are kept in browser, you should be able to read them but keep in mind that the cookie is create for a domain/subdomains and only in that domain/subdomains is available ...

      Write a Reply...