session id's and included scripts
- From: "Mike" <mike@xxxxxxxxxxxxxxxxxxxxx>
- Date: 28 Nov 2006 01:21:02 -0800
I have a login script that uses sessions. I want to pass the session
id in the URL so I have turned on the session.use_trans_sid.
After the user enters their login info they hit a submit button in a
form. This directs to a script with no output as it purley checks the
login data is true. The session id is still in the url at this point.
If the login data is ok it then uses location to redirect to another
page. When it arrives at this new page the url no longer contains the
session id. I've even tried hard coding it into the script
?PHPSESSID=$PHPSESSID with no luck.
I do include a couple of scripts at the top of my scrips. Do I need to
add the PHPSESSID to the included scripts too?
Many Thanks
Mike
.
- Follow-Ups:
- Re: session id's and included scripts
- From: Lorenzo Bettini
- Re: session id's and included scripts
- Prev by Date: Re: Lost formatting in browser 'view source'
- Next by Date: Re: Watermarking with GD, but a bit different....
- Previous by thread: Watermarking with GD, but a bit different....
- Next by thread: Re: session id's and included scripts
- Index(es):