This topic is locked

Problem with Login screen?

6/24/2006 05:42:47
PHPRunner General questions
B
bmak author

Hi,
Am getting a problem with a login screen and hope someone can help.
I have created a simple addressbook system using the basic PHPrunner template. The running files and database are on the same server.
When I try to login to the system on the hosting server I get access and all the functionality of the project. If I try to do the same from a remote machine I get to the login screen but when I login get a message telling me that 'your session has expired'.
Also, is it possible to change the default state of the 'remember me' checkbox to 'no' or remove that option all together from the login screen.
Obviously not being able to login takes more priority.
Thanks
bmak

B
bmak author 6/25/2006

HI all,
I am still struggling with this problem, has anyone seen something similar?
Thanks
bmak

Alexey admin 6/26/2006

Hi,
as far as I got from your message the pages remain on the same server in both cases.

In this case please ensure that cookies are enabled in your browser settings.
Here is the code snippet in login.php file you can remove to get rid of remember password box:

<tr>

<td align=right width="50%">

<div align="left">Remember password:</div>

</td>

<td width="50%">

<input type=checkbox name=remember_password value="1" <?php echo $strChecked;?>>

</td>

</tr>

B
bmak author 6/26/2006

Hello and thanks for the help.
While cookies were enabled on the browser, ZoneAlarm was blocking access to the page. This has now been addressed and the site is accessible on all machines.
Thanks!
Kind Regards
bmak