close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Login works in IE but not Safari or Firefox

Thread began 8/25/2010 4:43 am by georgina_barrett_187762 | Last modified 9/01/2010 6:23 am by Jason Byrnes | 2295 views | 8 replies |

georgina_barrett_187762

Login works in IE but not Safari or Firefox

I have created a login system. It works fine in Internet Explorer but when I try it in Safari (5.0.1) and Firefox (3.5.10) it either stays on the same page (but doesn't log you in) or it takes you to the forgotten password page - The redirect page if all the login checks fail. My website is www.extratimeonline.co.uk

Sign in to reply to this post

Jason ByrnesWebAssist

log in is based on setting session variables. sessions are not browser dependent.

the only way for the browser to be able to effect login is if cookies are disabled in the browser.


try clearing the browsers cache, and making sure to enable cookies.

Sign in to reply to this post

georgina_barrett_187762

This post has been deleted.

georgina_barrett_187762

There is definitely a problem. I have cookies enables and I have cleared the cache - but still no luck. I have also tested it on other computers but I can't log in from those either. I have logged into this forum via Firefox and that worked. I have had a few clients saying that they can't log in either.

Sign in to reply to this post

Jason ByrnesWebAssist

can you send a copy of your pages login page, the page it should redirect to on successful login and the WA_SecurityAssist/HelperGroupRules.php page.

Sign in to reply to this post

georgina_barrett_187762

Every page has a login. I have attached the index page and the forgotton password page - the page it redirects to on a failed login.

Attached Files
index.zip
password.zip
Sign in to reply to this post

georgina_barrett_187762

Sorry - here are the other pages you require. Index.php is the page it goes to on a successful redirect.

Attached Files
HelperGroupsRulesPHP.zip
index.zip
Sign in to reply to this post

Jason ByrnesWebAssist

in some browsers, a form elements value will not be sent with the post if the form element does not have a value attribute.


In your login form:

<form action="" method="post" name="login" id="login">
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td>&nbsp;</td>
<td><strong>Member Login </strong>(<a href="password.php">forgotten password</a>)</td>
<td align="right">Username:
<input name="username" type="text" id="username" size="10">
Password:
<input name="password" type="password" id="password" size="10"></td>
<td width="50" align="right"><a href="password.php">
<input type="submit" name="loginbutton" id="loginbutton" value="Login" class="button">
</a></td>
</tr>
</table>
</form>




the username and password form elements do not have value attributes, this could be causing the problem

change:

<input name="username" type="text" id="username" size="10">




and:

<input name="password" type="password" id="password" size="10">



to:

<input name="username" type="text" id="username" size="10" value="">




and:

<input name="password" type="password" id="password" size="10" value="">
Sign in to reply to this post

georgina_barrett_187762

Thank you - I found the problem in my code. For some reason I had a 'a href' around the button ;)

Sign in to reply to this post

Jason ByrnesWebAssist

yup, that could do it too.

glad to hear you found the issue.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...