close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Creating a Guest Sign In

Thread began 10/24/2010 3:11 pm by mora398588 | Last modified 7/15/2014 3:07 pm by mora398588 | 2166 views | 4 replies

mora398588

I am replying to a very old post of mine, and I am seeking assistance with the process Jason outlined above. I am attempting to following the steps outlined above and so far I have created a userLevel for my guest account and inserted in my user database an email address (UserEmail) and a simple password (UserPassword). I also inserted the guest level user (10) under my "All Users" Group Rules using SecurityAssist to ensure that the checkout.php page recognized the guest as a valid userLevel.

I then proceeded to insert the form action on my user_LogIn.php page to pass the guest session over to the checkout page. Here is what I came up with:

<form name="LogIn" method="post" action="<?php echo ($_SERVER["PHP_SELF (isset($_SERVER["QUERY_STRING"])?"?".htmlentities($_SERVER["QUERY_STRING"]):""));?>">
<input name="UserEmail" type="hidden" value="guest@hrconsortium.net">
<input name="UserPassword" type="hidden" value="guest101">
<a href="checkout.php" onClick="LogIn.submit();" class="button4">shop as guest</a>
</form>

I am using the above code so the "shop as guest" button could post the guest login variables over to the checkout.php page. However, I am running into problems, as the method I am using above is not working. I should also note that my checkout.php page has a SA access restriction which returns the individual back to the Login Page if they are not already signed in. I used WebAssist's tutorial in creating the access restriction using a URL variable where users_LogIn.php?checkout=1.

I have attached a copy of my login page so you can see what I have done so far. Thank you.

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