close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Security Assist

Thread began 9/23/2018 1:37 pm by dhagood355349 | Last modified 9/24/2018 12:59 pm by Ray Borduin | 1435 views | 6 replies |

dhagood355349

Security Assist

Havent used Security Assist much, and I have a question.

How do you pass off one of the login variables to a query once login is successful.

example, the login page has

$SuccessRedirect = "login.php?loggedIn=1";

How can you turn this to redirect the page with query data. Example: MemberPage.php?Username=Username used in login.

something like this? but don't know where to call it from.
<?php echo($?????->getColumnVal("Log_In_group_Username")); ?

Thanks in advance..
D Hagood

Sign in to reply to this post

Ray BorduinWebAssist

Usually you would just redirect to MemberPage.php and then save the username in the session from the authentication server behavior directly. That way you wouldn't have to pass it in the url where it could be changed but could display or use it anywhere on pages after.

Sign in to reply to this post
Did this help? Tips are appreciated...

dhagood355349

Thanks

This post has been deleted.

dhagood355349

Session

See private

Sign in to reply to this post

Ray BorduinWebAssist

The third tab in the authentication server behavior allows you to save as many fields as you want from the authenticated user into the session.

Sign in to reply to this post
Did this help? Tips are appreciated...

dhagood355349

Session

So I do this on the login page?

Then how do I pass it on to the Memberpage?

some of the tools tell me its old coding... <![CDATA[@@OldIncludeCode@@]]>

Sign in to reply to this post

Ray BorduinWebAssist

Yes, add it on the login page. Saved session variables are automatically available on any pages after they are set. Just make sure the session is started on the page when you want to reference them like:

<?php
@session_start();
?>

Please use separate posts for new questions. What causes the old code issue? Where does it appear? Most likely that can just be deleted, but I'd need more information about the context and page content to be sure.

Sign in to reply to this post
Did this help? Tips are appreciated...

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