Hey all, got a question about persistent data/cookies. I see you can call setPersistent() on a FormComponent object, but in my current way of thinking this wouldn't really help as I don't have arbitrary access to the form.
What I'm wanting to do is set a cookie in the brower with a username+password MD5 hash (or other encoding) once the user has logged in (my LoginForm.onSubmit()) - so I'm not wanted to persist the form contents 'as-is'. Now, on the flip-side I want to read this cookie from my authentication strategy, if the users not logged in, check if the cookie exists - bounce to the login page if it doesn't, and if it does - extract the username, password hash, and check the hash is valid, and bounce to the login page if not. So basically I'm wanting an arbitrary way of getting/setting cookies from any Page, or other part of wicket. Can this be done in 1.2? -- i like my video games - mamma said they are gonna melt my brains i like my video games - i don't care what daddy said; they're my reality - henning pauly ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
