On Tue, 18 Sep 2001, Chris Lee wrote: > - you have cookie support on or off ? > - you using any header redirects ? (you have to manually add the SID to > URI's) Sorry for the lenght of this mail. PHP compiled with --enable-trans-id, so PHP adds SID to the URL. session.use_cookies = 0, session.referer_check =, session.auto_start = 1, session.name = SID Having this doc tree: /index.html | \___ systems/index.html |___ .htaccess --- /index.html --- <!-- where systems/ is htaccess protected, using a hacked version of mod_auth_mysql --> <!-- here PHP attaches the first SID (supposed to be taken by systems/index.html automagically, as session.auto_start = 1 --> <a href="systems/index.html">Enter</a> --- /index.html --- Now: --- systems/index.html --- <?php if ($HTTP_SESSION_VARS[inside] != 1) // register all the session variables, etc. ?> <frameset cols="100,*"> <frame src="menu.html"> <!-- here php attaches the *new* SID, not the --> <!-- passed from /index.html --> <frame src="main.html"> </frameset> --- systems/index.html --- Do I need to use the SID constant with session_id() to set the first session ID? (I mean, the one from the href who taked me to the systems/ directory). Thanks, Rodolfo. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Re: Problem: lost session id when htaccess'ing.
Lic. Rodolfo Gonzalez Gonzalez Tue, 18 Sep 2001 18:15:57 -0700
- [PHP] Re: Problem: lost session id when hta... Chris Lee
- Lic. Rodolfo Gonzalez Gonzalez