Why adding a random query parameter in redirected url?
gibus - November 2, 2009 - 13:12
| Project: | Ajax |
| Version: | 6.x-1.14 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
I'm just wondering why ajax_get_redirect function add a random parameter around line 249:
$u['query'][mt_rand()] = 1;For eg., when using ajax_register module, this leads to some weird url when login form (using ajax) is submitted: my_url?802334268=1.
Is there some good reason to add this random parameter? Or can the above line be safely commented/deleted?
