Solved

session variables

Posted on 2004-04-05
6
284 Views
Last Modified: 2010-04-25
Where can I learn about how to create a session variables when a user logon
in via a page that has been created with DWMX authentication?

I need ethier a web demo or can someone explain.

Willa
0
Comment
Question by:willa666
6 Comments
 
LVL 20

Expert Comment

by:trailblazzyr55
ID: 10757339
All you are trying to do is set session variables?
0
 
LVL 1

Author Comment

by:willa666
ID: 10757554
Yes this is correct but i want the veribal to be set at the time when the user logs into the logon page.

Then to take it one stage futher i want to be able to use that varible in a recordset.

is that simple to do?
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 10758992
It depends on the language you are using.  Is it ASP? PHP? Cold Fusion? etc...
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 1

Author Comment

by:willa666
ID: 10759016
asp with a sql backend
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 10759583
In ASP the session variable is called MM_Username

Here is a tutorial :
http://www.dmxzone.com/ShowDetail.asp?NewsId=6402
0
 
LVL 8

Accepted Solution

by:
alexhogan earned 250 total points
ID: 10784679
A session is something that is live while you are in the site that contains the application that you are using or logged in to.

Session variables are set in ASP by using;
<%
session(variable name) = "value for session variable"
%>

So if you wanted to set a session var for a username you would use;

session(username) = "willa666"

To retreive the value of the variable in the session you simply use;

myvar = session(username)

Now myvar = willa666

This is a simple explanation.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now