CodeIgniter Forums
How to hide uri segment in address bar? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: How to hide uri segment in address bar? (/showthread.php?tid=23218)



How to hide uri segment in address bar? - El Forum - 10-04-2009

[eluser]suba[/eluser]
HI every one,

http://localhost/Dummy/sims/index.php/results/addresults/sclass/3ES1/code/FE001

this my uri.
i want to hide my uri segments in address bar.
is this possible?

pls do favor to me.


How to hide uri segment in address bar? - El Forum - 10-04-2009

[eluser]Mareshal[/eluser]
answer is ajax Smile


How to hide uri segment in address bar? - El Forum - 10-04-2009

[eluser]aryan_[/eluser]
Send these data through POST or use cookie.


How to hide uri segment in address bar? - El Forum - 10-04-2009

[eluser]suba[/eluser]
hi,
thanks..
but POST and cookie are not good.
yes. because post must need html elements.
i don't want to create hidden field.
cookie is not a security one and risk one.
so i need another solution

help me any one.


How to hide uri segment in address bar? - El Forum - 10-04-2009

[eluser]Mareshal[/eluser]
there is no other solutions, If you know how to filter data, everything is ok. I am using both get and post methods, even cookie. but if you already read codeigniter manual, you should know about this:

Code:
/*
|--------------------------------------------------------------------------
| Global XSS Filtering
|--------------------------------------------------------------------------
|
| Determines whether the XSS filter is always active when GET, POST or
| COOKIE data is encountered
|
*/
$config['global_xss_filtering'] = TRUE;



How to hide uri segment in address bar? - El Forum - 10-07-2009

[eluser]suba[/eluser]
hi thanks so much