in reply to Security/Ease of use Question

And also, can I have a useless form to just store my hidden values?

No, if I understand you. I think you mean having more than one form in page, yeah? <form>whateveriam...</form> stuff <form>hiddenstuff</form> It won't work (assuming browser compliance). Only the params from the individual form that was submitted will be passed on.

Re: CGI::Session, anyone; for my own edification, I've been using Apache::Session with either the file or the mysql drivers with no trouble (well, some locking trouble with mysql but I figured out how to fix it). Is there a reason to prefer one over the other? I think the psychology of the namespace led me to think the Apache:: one would be faster, more stable. I have no empirical evidence either way and would love to hear stories.

Update: forgot to mention that you can do it both ways for users who don't care to use cookies. The very noticeable example of this is Amazon.com where the session id is embedded in all the URIs per page load in case you're a'scared a'cookies.

Replies are listed 'Best First'.
Re^2: Security/Ease of use Question
by Spidy (Chaplain) on Sep 08, 2004 at 01:21 UTC
    No, I meant like, a form on a page that is entirely my hidden information, on a page where there are no other forms.
      Yes, you can certainly have that. However, if you want to be able to pass that data along to the next page you will have to use a Javascript href in order to do it. For example, <a href="javascript:document.formName.submit()">click here</a>. Furthermore, if you want to be able to link to different pages all by submitting the same form, then you will have to use Javascript to modify the 'action' attribute of the form, which can get ugly.
        Oh. Is there any way I can have it send it no matter where I click? I want to be passing the values around the forms on the pages afterwards too...