Forum Moderators: coopster

Message Too Old, No Replies

Cookieless site

cookieless web application, what is the best way?

         

gbos

11:05 am on Aug 20, 2008 (gmt 0)

10+ Year Member



I would like build a web based application that does not use cookies. I need to do all the usual stuff like storing IDs from page to page etc. I would be interested to hear the forums opinion on what would be the best way to go about this.

Thanks in advance.

mrscruff

12:07 pm on Aug 20, 2008 (gmt 0)

10+ Year Member



You will have to enable: use-trans-sid

[uk2.php.net...]

This will send the session id in the url, instead of in a cookie. This is the only way to maintain session data from page to page with out useing cookies. PHP should aultomatical add the session id to urls, but can cause problems when people send links, or bookmark pages ect.

andrewsmd

12:14 pm on Aug 20, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Why exactly do you not want to use cookies. They really are not a security threat like some idiots will make you believe. Unless your going to have a storage space or indexing problem I would use cookies.

gbos

12:28 am on Aug 25, 2008 (gmt 0)

10+ Year Member



Thanks for the replies. I need to build a cookieless site because the person who commissioned the site wants it that way. I have argued that cookies are harmless but they are having none of it. I don't like arguing with customers so cookieless it will be. I have decided to store session info in a database and create a session ID based on a record ID and pass this id from page to page. This way I can easily store alot of session information, see what is passed from page to page and have complete control independant of all other things.