The table approach would still work: a subtask you need to solve is how to allocate a unique URL to a bunch of user ids and then redirect them to the new URL when the timeout expires.
I second Colin's suggestion to use Javascript polling and the setTimeout function, if it's not critical for the users to wait for 10 seconds to be redirected to the right URL. If it's very critical to redirect users quickly and waiting 10 secs is too long, you can try 5 secs. You could also explore the approach of implementing a push mechanism (I guess you can read discussions like this one http://stackoverflow.com/questions/219868/client-notification-should-i-use-an-ajax-push-or-poll to get you started). Choosing between the two is a tradeoff of 1) how much time do you want to spend coding/researching the topic, 2) what are the actual user requirements for your app, 3) how much load would the server take. Good luck, Martin -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

