Welcome Guest, Not a member yet? Register   Sign In
# as a segment?
#1

[eluser]Unknown[/eluser]
Hi,

Is it possible to use a # as a segment?

For instance if you use at the url:

www.example.com/profile/#/userid

I'd like to still pull the user id as a segment a query a database dependant on it's value if a user has no javascript and pull the data via ajax if they do.

Displaying the segment count only results in 1 however. Sad
#2

[eluser]WanWizard[/eluser]
No. It has only relevance client-side, where it is used to indicate an anchor in the page. If you sent it to the server in a request, the server will strip it from the URL.




Theme © iAndrew 2016 - Forum software by © MyBB