Hi folks,
This might be a bit off-topic but I have a little performance problem.
I have page which reloads itself after a confirmed login.
Since I want to - of course - display two different screens depending on logged in or not, I put the HTML code in two strings.
But heres the problem: The string containing the user data is so big that it takes seconds to parse it (after checking it on localhost). I don´t want to know what happens if it´s running on a Server among other applications....
So, anybody have a clue what to do??
I cannot use frames because it´s an application that will run in a frame....
Thanx in advance for any suggestions...
FAB
Code:
$string1=blablabla
$string2=alot of blablabla
$display=$string1 //default if user not logged in
if($log=true) $display=$string2 // if user is logged in
somewhere in HTML: print $display;