ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-lib
php-lib
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved