Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sessions? 1

Status
Not open for further replies.

pfrancis

Programmer
Mar 18, 2004
19
US
Hey. I'm new to ASP, but I have been working with PHP for a little while. In PHP there is a Session function. Does ASP have the same function or a similar one? Thanks for any help you can give me.
 
There is a session object in ASP...

You can have session variables
session("userName") = "Mike"


You can kill a session
session.abandon

You can make things happen when sessions start and end in the global.asa file

sub session_onStart
end sub

sub session_OnEnd
end sub

Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook (No, I'm not Rick)

zen.gif
 
Thanks for a quick response. It really helps. Do you have any links with good references for sessions. I did a google search and I'm not really finding examples of using sessions. Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top