Page 2 of 2
Posted: Sun Jul 24, 2005 3:01 pm
by John Cartwright
Roja wrote:
All stored, no problems.
I'm curious now why you are getting restricted site for it.. it doesn't happen for me.
same here.
Posted: Sun Jul 24, 2005 9:09 pm
by theda
I haven't a clue either. ^_^; It works perfectly for me, but about 4 people out of 4 people I've asked to view it in IE from my messenger list said they couldn't view it in IE as it was "Restricted Sites" ^_^;;
Posted: Sun Jul 24, 2005 9:15 pm
by Ambush Commander
Simplest solution? I'll reiterate: Make your site work _without_ cookies at all. I never really liked them anyway. If I were to visit your site with FireFox, I'd probably reject your cookie, be locked out, and go to another site. I just don't like unnecessary cookies.
Posted: Mon Jul 25, 2005 8:48 am
by theda
Well what other way would I be able to use in place of cookies? Sessions maybe, but I don't know how to use them on my old version of PHP (6.0.9 I believe).
Edit: Not to mention, I'd probably render half of my website useless with sessions, as I have a few different snippets that are meant to detect if a variable is set (which I used cookies to do) to determine their output
Edit 2: I posted the source code for both the pages in question... This may help you understand what I'm talking about.
Main page: (Which is the actual page rendered)
http://dumbass.ionichost.com/?id=source_main
Index page: (Which has all the variable's set)
http://dumbass.ionichost.com/?id=source_index
Posted: Mon Jul 25, 2005 9:13 am
by theda
I guess a better question is how do I set variables when using sessions?
Code: Select all
session_start();
if(isset($the)) {
$_SESSION['the'] = $the;
} else {
$_SESSION['the'] = "gra";
}
That code there always renders $the as "gra", and never to the variable $the... But that's probably because I never SET $the...