Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

cached problems

by slurch901 (Initiate)
on Dec 10, 2012 at 23:03 UTC ( [id://1008181]=perlquestion: print w/replies, xml ) Need Help??

slurch901 has asked for the wisdom of the Perl Monks concerning the following question:

Hi all, I have a problem displaying my cgi site correctly. Basically first time round it checks if the user has an active session and if not it prints the login boxes else it just loads the content. If the user logs in it creates the session and cookie ok, but he has to hit submit twice for it remove the login boxes and display the correct content, although if you only press submit once and refresh the page it displays the content correctly. I was wondering if there is a way to fix this? Cheers

Replies are listed 'Best First'.
Re: cached problems
by GrandFather (Saint) on Dec 11, 2012 at 01:21 UTC

    You have the sense of the test in the if statement on line 42 backwards.

    True laziness is hard work
Re: cached problems
by davido (Cardinal) on Dec 11, 2012 at 07:24 UTC

    I was wondering if there is a way to fix this?

    Certainly.

    If you want us to help you with it, you'll have to show the relevant code. But if the question is just whether or not it can be fixed, yes, absolutely.


    Dave

Re: cached problems
by Anonymous Monk on Dec 10, 2012 at 23:53 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1008181]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2024-03-19 02:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found