others have given good advice, but let's learn to walk before we run shall we.
1. session_start() should be called once per request.
2. checkValidUser() does a select on all the users in the database, this is
*wrong* -
do a select with a suitable WHERE clause the retrieves the one user that
On Jan 22, 2008 9:15 PM, nihilism machine [EMAIL PROTECTED] wrote:
I wrote an authentication class in php4. The sessions dont seem to be
working with internet explorer, just with FF. here is the code below,
a cookies notice pops up when you try and login:
Hi,
I took a quick look at your code.
On Jan 22, 2008 9:54 PM, Eric Butera [EMAIL PROTECTED] wrote:
I realize this link I'm posting is called auth
too, but that wasn't my choice.
that was kind of funny after your initial criticizm above, but to solars
credit,
its the auth 'package' so really the name isnt too bad, id say.
You
Dave Goodchild wrote:
Hi all. I am building a web app which uses sessions to retain user data
between pages and finally enter that data into mysql - I have noticed that
out of 100 entries in the database, 10% are blank. I tested this by setting
a cookie on the home page and when the user
Scott Taylor wrote:
How exactly do sessions work? I've heard that if cookies are disabled
that a session will then pass it's variables in the url (through GET).
Yet when I manually disable cookies none of my pages work (because the
$_SESSION variables do not seem to be working).
The
[snip]
I want to have my website split into several
subdomains with a shared user system. That is to say that when someone
logs into
foo.mysite.com they'd also be logged into bar.mysite.com when they go
to
it. It is my understanding that php sessions will not work in this
way,
being that
When using cookies, if you don't set an expiration time, the cookie is only
good until the session expires. It doesn't get saved, and it disappears
when the user closes their browser.
Many browsers have different settings/preferences for session cookies, and
because they don't get saved to
yup, your browser is not accepting cookies. thats a good guess. when a browser does
not accept cookies, trans-sid will kick in, trans-sid will not work on full urls, just
reletive urls.
no trans-sid
http://www.mediawaveonline.com/index.php
trans-sid
/index.php
header redirectect require
it does not have anything to do with my browser... that's for sure...
I'm using MSIE 5.5, and never had any trouble... and as I said on the
email... it used to work fine... it just stopped working...
and now yet some fresh info... it's working again now... I've tried...
one thing I noticed,
9 matches
Mail list logo