>> how to get the string of "x=1;y=2 " in django from requesting url >> "http://a.cn/b#x=1;y=2". > > I wouldn't expect to be able to get the part after the # (actually, I > wouldn't expect the browser to bother sending it) - it's a pointer for > the browser to a named anchor tag
If you watch the HTTP headers (there's a nice FireFox plugin called "Live HTTP Headers" that makes this easy to test with a URL like [1]), you can readily verify that Brett is correct -- the fragment identifier is *not* sent over the wire, so there's no way (short of javascript chicanery that might be possible) to learn this on the server-side. -tim [1] http://en.wikipedia.org/wiki/HyperText_Transfer_Protocol#Request_message --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

