close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

What are Session variables ?

Thread begun 3/29/2009 7:16 am by mustang_sally_85344510 | Last modified 4/30/2009 8:46 am by Ray Borduin | 5511 views | 4 replies |

mustang_sally_85344510

What are Session variables ?

Was wondering is there any DETAILED info on this site to help a person understand "session variables". Also, on a form...do I need to make a "hidden" field to input a username into the database when the form is submitted? Any information about this topic would be much appreciated!

Sign in to reply to this post

Ray BorduinWebAssist

There is lots of information throughout the web about sesison variables. WebAssist does not have a detailed tutorial dedicated to this subject.

Try a google search. I found quite a few including:
Introduction-to-Maintaining-the-State-of-Applications-with-PHP-Sessions/
and
php-session-explained-105657.html
and
733.htm

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

mustang_sally_85344510

Thank you!

Sign in to reply to this post

DjMikeWatt

I use a session variable to store the username when a person logs into the site... what I'm not sure how to do is automatically set that session variable from a cookie (as in, "keep me signed in" check box at the log-in screen that would set a cookie to auto set the session variable each time a page on the site is opened...

Is there any info on how to use the Cookie Toolkit for this purpose?

I should mention that I've tried the following:

Set a cookie called "auto_log" based on the checkbox state... if checked onSubmit, the cookie "auto_log" is set to the value of the username (which is also the value used in the session variable).
There is a server-side behavior to set the session variable "MM_Username" to the value of cookie "auto_log" before page load.

I thought this might work, but it does not.

Sign in to reply to this post

Ray BorduinWebAssist

You should use the SecurityAssist product from webassist. It will create the login page with the auto login feature as well as create a forgot password functionality and the registration page and update profile page all from within one wizard.

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