session variable

This is a discussion on "session variable" within the Classic ASP section. This forum, and the thread "session variable are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Aug 29th, 2004, 05:32
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,602
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Send a message via Yahoo to Monie
session variable

So far, i have learn to use session variable for my login and logout porpose! and also to display the name of the logged in user to the page!

Can anybody tell me, what else can this thing(session variable) do?
thanx
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)

  #2 (permalink)  
Old Aug 29th, 2004, 06:16
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
Session Variables can do ALL kinds of things. It depends on how you want to use it though. You can keep track of how many pages the user has visited, you can find out what page they are on, you can figure out how many times they visit each page.... ALl kinds of good stuff with Session Variables. There's a whole world of possibilities that Session Variables open up, although you have to know a lot of other code to make it work, the Session Variables are the key.
  #3 (permalink)  
Old Aug 29th, 2004, 08:25
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,951
Blog Entries: 7
Thanks: 7
Thanked 3 Times in 3 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
It is worth pointing out Court Jester that session variables rely on cookies. Not everyone has these turned on, and relying on them 100% is not a good idea, unless absolutely 100% nessesary.

These forums use cookies, but members can still access the site AND post without them enabled.
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
  #4 (permalink)  
Old Aug 29th, 2004, 13:42
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
Yeah, well if you want to buy anything from a lot of merchants on the net nowadays, you had better have cookies enabled. Because if you don't you can't purchase anything. I think more and more people are starting to activate cookies so I don't think its a very big problem anymore.
  #5 (permalink)  
Old Aug 29th, 2004, 14:25
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,951
Blog Entries: 7
Thanks: 7
Thanked 3 Times in 3 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
Actually Court Jester, the opposite is true. More and more applications are being written that are state-less, and do not require cookies... this indicates that more and more people are turning them off.... usually done without their knowledge by security applications.

Cookie-less sites are becoming MORE frequent... I can only presume it's for that reason.
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
  #6 (permalink)  
Old Aug 29th, 2004, 16:22
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
Well I know I have to specify which sites I use cookies on and I get errors from Ikobo, Pay-Pal, Amazon, my bank, and even some of the bills I pay. Of course I just put them in the trusted list and I'm good...
  #7 (permalink)  
Old Aug 30th, 2004, 03:29
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,602
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Send a message via Yahoo to Monie
do you have any good website refference that i can surf to
i mean all about what session variable can do!
thanx for replying guys!
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
  #8 (permalink)  
Old Aug 30th, 2004, 03:52
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,602
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Send a message via Yahoo to Monie
Ok...as i said, i have use this session variable to detect the logged in user.
in my page, i have a form that will ask the user to input their biodata and then will be viewed in a display.asp page.

In this page i use a repeat region to display all the data inside my database! Each of them has a delete and update link!

<span style="color:blue">How can use session variable to display only delete and update link that belong to the user that post it? Can session variable do this? Or maybe there is another way?</span id="blue">
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Closed Thread

Tags
session, variable

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing a session variable when clicking a link? Crow555 Classic ASP 0 May 15th, 2008 12:22
[SOLVED] ASP Session Variable Monie Classic ASP 7 Oct 10th, 2007 02:44
Session variable errors fogofogo PHP Forum 2 Dec 16th, 2005 12:23
Assign string values to integer values of a session variable Andy K Classic ASP 1 Jul 13th, 2005 08:29
problem with Session variable andrew_perez5 Classic ASP 0 Jan 24th, 2005 03:42


All times are GMT. The time now is 20:59.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43