Solved

session variables

Posted on 2004-04-05
6
293 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Adobe Web Premium CS3 5 385
Does Adobe/Dreamweaver Have Free Website Templates? 2 421
Element Positioning for Fluid Grid Layout 6 153
Barcode detail gets lost in PDF 3 138
For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
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 video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

821 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