I wanted to make a login to a web application which apparently is done using POST is in the intermediate validate php file The intermediate validate file would generate a ticket which would be the identifier throughout the session But how would I do pass the ticket as a post parameter? from the intermediate login validating file without DELAY??
<script type='text/javascript'>
function postRedirect()
{
document.forms['form'].submit();
}
</script>
<body onload="postRedirect();">
<form name="form" action="home.php" method="post">
<input type="hidden" name="ticket" value="<?php echo $ticket; ?>" />
</form>
</body>
Above given is my current code which works as for the functionality but has a significant delay in loading the Home Page There should be a better solution to this issue and I'm looking forward to find that here and any other alternate way to achieve it. PS: Using session wouldn't be something that is feasible for me but please let me know if I dont have any other solution in regards to this Thanks in advance!!