I was wondering if it was possible to set a cookie with php and have it read again by perl. is this possible? if so,what would be the function i would use in perl to read it?
A http uer-agent only sees an http response (statusline + headers + content). Why do you think that the client would care which program (if the webapplication is not using pigeons) was used to generated that response?
Anyway, which investigation have you already performed to find more information about 'perl cookies'?
Well,actually i dont really know perl. But i know that php and perl have some things in common. My main goal was to put a check on top of a premade script to see if the user is logged in before allowing them access to the script.
The main problem between this is that im not sure how much php and pelr can talk to each other,if they both use the same sessions,it will be easy then.
i think i may have found a way around this. Since im protecting the place of access with a .htaccess file,i could just have a cron php script that would check what numbers have time_left >1,if it did,i would use a crypt generated password and then attach each to each value,implode the id and pass with a : and then finally write it to the file. this is my thinking,does it make sense?