Re: Session

From: Date: Thu, 26 Sep 2002 20:11:13 +0000
Subject: Re: Session
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-117771@lists.php.net to get a copy of this message
PHP is automatically rewriting the URLs for the tags specified in url_rewriter.tags (php.ini) because the session cookie has not been accepted. I found it best to remove these tags and append the SID manually to the URLs that need it for when cookies are off - else SIDs can get appended where you don't want them appended. I think PHP's session system is really good and definitely worth learning. Debbie ----- Original Message ----- From: "Bill Farrell" <jwwfarrell@yahoo.com> To: <php-general@lists.php.net> Sent: Thursday, September 26, 2002 8:09 PM Subject: [PHP] Session > Hi all, > > Is there a really thorough tutorial on the use of > session variables? Seems like there are a zillion > options to choose from, lots of interdependent > settings, etc, and I'm a bit confused on how to make > it work. > > I try not to use session objects too much in any > language as it makes the code somewhat less portable, > but I did want to experiment with PHP's notion before > launching off on another suite of apps. I'm starting > with a simple fake hit counter that checks session to > see if the counter was already dinged. It works if I > turn on enable_transient_sid, but setting that drives > ht://dig nuts by appending ?PHPSESSIDyaddayadda to the > URL. Really makes a mess of the database :-)~~. > > Obviously, I'm missing something pretty fundamental. > Any suggested reading would be appreciated (yes, I did > read the PHP manual :-). > > Thanks in advance, > B > > > ===== > Bill Farrell > Multivalue and *nix Support Specialist > > Phone: (828) 667-2245 > Fax: (928) 563-5189 > Web: http://www.jwfarrell.com > > __________________________________________________ > Do you Yahoo!? > New DSL Internet Access from SBC & Yahoo! > http://sbc.yahoo.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#117771) next »