Solved

session variables

Posted on 2004-04-05
6
291 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
ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

 
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
slide show not working correctly 10 414
Resume template for HTML/Dreamweaver website 9 521
Edit Muse Website with Dreamweaver 6 1,172
Need graphics tool to create card game 2 139
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
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 Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

770 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