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.
|
|
|
|
|
![]() |
||
session variable
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
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)
|
|
|
|
|||
|
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.
|
|
||||
|
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
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
|||
|
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.
|
|
||||
|
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
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
|||
|
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...
|
|
|||
|
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)
|
|
|||
|
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)
|
![]() |
| Tags |
| session, variable |
| Thread Tools | |
|
|
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 |