html source read

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • über
    New Member
    • Sep 2007
    • 31

    html source read

    i got a login script and i want to make sure everything is right by somehow checking that i have logged in, one way would be that for example u could read the source code. If there reads "protected page", then u have logged in without errors. So any1 got ideas?
  • eWish
    Recognized Expert Contributor
    • Jul 2007
    • 973

    #2
    I would suggest that you look into using a Session ID. Have a look at CPAN.

    --Kevin

    Comment

    • über
      New Member
      • Sep 2007
      • 31

      #3
      someone said that it would be easier with HTTP::Cookies;.
      How could i make login script with that? With login script i mean script that logs me in

      Comment

      • eWish
        Recognized Expert Contributor
        • Jul 2007
        • 973

        #4
        What did the documentation say to do? You can use either method (cookies or session id), cookies are not the best option.

        --Kevin

        Comment

        • über
          New Member
          • Sep 2007
          • 31

          #5
          Im pretty new to perl and there r so many things in the CPAN with session in name so i dont know wich one to take, can you help?

          Comment

          • eWish
            Recognized Expert Contributor
            • Jul 2007
            • 973

            #6
            CGI::Session::T utorial and CGI::Cookie

            --Kevin

            Comment

            Working...