Tahnk you tis pretty clear now although i understood what i wasnt thinking correctly 5 minutes before when seeing fishbot's post where i am expalining why i got stuck.

Anyway yesterday, i decided that i woudl enver understand this so i renamed login pl to register.pl and use it only to register people. For login i redirect userscoming from index.pl to an admin script where it is http access authenticated and if the user sign correctly then admin.pl is runnign and redirecting to show.pl which i do database stuff
Apache's authentication has a fancy pretty coll dialog box in xp way more advanced than the not so good looking form table that i ahve created :-). I just having a slighlty different problem that iam asking in a later thread of mine

Thank you very much guys for your patience with me.
Actually i ahve re-read all thread and things are crystal clear.

To say it better my problem was that i was thinking that the code must follow the logic of order of how things must be printed on screen but i know reilized that it doesent have to work this way.
I mean just because the cleitn must see the table first and then gives data doesnt mena that the code should print him the table first and then try to redirect. It can instead check if data was already being submitted and then if not then pritn the user form to fill. Its vice versa actaully ;-) This would help me a lot of later disign models.

In reply to Re^8: Redirecting values from 1 script to another by Nik
in thread Redirecting values from 1 script to another by Nik

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.