Re: [Phplib-users] sourceforge project page down & real $sess->url() stuff
by Layne Weathers other posts by this author
Nov 8 2005 9:29AM messages near this date
Re: [Phplib-users] sourceforge project page down & real $sess->url() stuff
|
[Phplib-users] sourceforge projc
> I use it in a navigationbar, so if I click on one item and than on
> the next item the url ever "knows" where I was before. It's ok, but I
> don't like it, it looks so ugly. I thought there was something that
> looks into the querystring and than deletes doubles and gives the
> cleaned querystring back, but maybe I am wrong. There will come a day
> for urlbeauty. :)
Andreas,
Session::url() only cleans out any session ids from the URL given to it
before adding the session id to the query string of that URL.
Based on the fact that Session::url() only adds the session id if the
session is in GET mode, I'd guess that your code is adding the get vars
on top of the existing $_SERVER["REQUEST_URI"]. It's pretty simple to
remove those; you could use Session::url() as a guide for making a
generic function to handle that task.
--
Layne Weathers
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Phplib-users mailing list
Phplib-users@[...].net
https://lists.sourceforge.net/lists/listinfo/phplib-users
Thread:
andreas
andreas
andreas
Layne Weathers
|