On Jun 3, 2007, at 2:42 PM, Perrin Harkins wrote:
Not sure what you could consider "normal" here, but there's no reason
you can't use any of the popular JavaScript libraries to call a URL
handled by a mod_perl auth module.
- Perrin
You just need to use some async javascript to pull it off. I
recommend MochiKit and serving data to it via JSON objects encoded by
JSON::Syck -- its quite fast to develop.
Your question is a straight-up fundamental JS/HTML issue, it really
doesn't have anything to do with mod_perl (yet, at least). Your
page is refreshing, because you're submitting a form and requesting a
new page in the main browser window. to keep the page from
refreshing, you want to handle that via xmlhttprequest or something
similar - where javascript or flash communicates with the server ,
handles the authentication, and populates the page.
mod_perl can do whatever you want on the server-side, but you're
looking at a client-side probelm.
// Jonathan Vanasco
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
| SyndiClick.com
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
| FindMeOn.com - The cure for Multiple Web Personality Disorder
| Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
| RoadSound.com - Tools For Bands, Stuff For Fans
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -