close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Security Assist users_profile

Thread began 4/24/2012 1:23 pm by cicyou421883 | Last modified 4/24/2012 3:10 pm by Jason Byrnes | 654 views | 3 replies |

cicyou421883

Security Assist users_profile

For some reason the users_profile page is submitting a pre-populated form with a customer name and address that is not in our database. The page is not creating the login customer name and address. The auto-login is not working so I have removed temporaroly from the site. Please advise as to why users_profile page is generating this name and address.

On top of page looks like an error?

if (!isset($_SESSION)) { session_start(); } ?>

users_Profile.php

Inquiry - Does remember me and auto-login both have to be checked to make this work with cookies? I recreated a version myself and checked both and it goes to the profile page with auto-login.

Question 2- when I created the above inquiry, the profile page only entered the e-mail address not the complete profile. I do not see how to get the complete profile up when all I have entered for requirements on the registration page is the e-mail and password. Please advise as to the auto-login issue.

Thank you for your time, Cathy

Sign in to reply to this post

Jason ByrnesWebAssist

it looks like a php code block is not started properly

this code:

if (!isset($_SESSION)) { session_start(); } ?>

should be:
<?php if (!isset($_SESSION)) { session_start(); } ?>



when i visit your profile page, I see no record found, I don't see a pre populated form.

Sign in to reply to this post

cicyou421883

Error with change of code

this error came up when entering:

<?php if (!isset($_SESSION)) { session_start(); } ?>

Parse error: syntax error, unexpected '<' in /home/content/54/7456454/html/users_Profile.php on line 4

So I went to the first code that you referred to,

if (!isset($_SESSION)) { session_start(); } ?>

and the error went away.

the first 5 lines now read:

<?php
error_reporting(E_ALL);
ini_set('display_errors',1);
if (!isset($_SESSION)) { session_start(); } ?>
<?php


In regards to the pre-populated form with the name and profile not in our database, I was able to see that perhaps both remember me and auto-login had to be checked? My computer is remembering the cookie, however, only remembers the e-mail not the complete profile. Complete profile is not entered on the site until the registration page or the login. So Autologin only get the person to an empty profile page now. Perhaps that is what you saw, not the stranger customer not in our database.

Is my solution to only leave the remember me checked box on the login? and not both remember me and the auto login?

Thanx, Jason,

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

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...