101 reputation
2
bio website xavierm02.net
location France
age 21
visits member for 1 year, 11 months
seen Aug 8 at 18:07

French. Loves JavaScript.


Sep
24
awarded  Supporter
Aug
27
comment After registering should the user be sent to the page they came from or to a welcome page?
You can also allow to log via Ajax but that's a lot of work because you need to know which parts of the pages to refresh and to have all parts of your pages refreshable via Ajax. And from a security point of view, it means you need to have ALL the pages secure (like being 100% sure you don't allow some kind of script insertion in forums etc.) whereas the old way of doing it allows you to "only" secure the login page for that.
Aug
27
awarded  Autobiographer
Aug
27
comment After registering should the user be sent to the page they came from or to a welcome page?
A good way of doing it would be to give the choice with 2 links (or more). Most people will want to go where they came from though (and that might be the welcome page). Also, "where they came from" is in the http referer header which isn't sent by every browser. So don't forget you mgiht not have this information available (in fact, you could but the user doesn't want you to... so if you do have it, don't use it).