Ask a Question related to ASP Database, Design and Development.
-
Jason Daly #1
Session DB values?
I am trying to make a shopping cart. Old ones i have created I have
stored product id's and prices in a cookie.
Where can I find information on storing information in a database just
for the session?
OR, what is the best way to go about storing shopping cart information
on my own?
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Jason Daly Guest
-
delete values base on user logon session
Hi How do I delete the data in my table base on user logon session, so when it deleted the values will only delete the values base on who use logon.. -
Session values in firefox browser
Hi all, i am using ColdFusion MX when i open my site in Firefox it is working fine when i use a single window (Browser instance). If i use... -
Session variables contain no values
Hi everybody. I'm experiencing strange problems with PHP session files: a user submits a form with UID and PWD. The next page checks these... -
Store values in session.item
Hi, Are there any security issues related with storing data related to the users session in session.item ? Can i keep data in there with any risk... -
Size of session values array?
Is there a way for my ISP to limit the size of the session values array? phpinfo() doesn't seem to give me that information, so I assume there is no... -
MDW #2
RE: Session DB values?
I don't know if databases provide session variables, but ASP itself does
Session("ItemID") = "xyz
Session("ItemPrice") = 3.9
I believe you can store session values in an array also. I may be wrong on this one, but I think that you could do something like this
Session("ItemID")(0) = "xyz
Session("ItemPrice")(0) = 3.9
Session("ItemID")(1) = "abc
Session("ItemPrice")(1) = 29.9
Once that value is set you can refer to it on any page within your application. A couple of thing to remember, though -
- Controlling how long a session lasts. I don't know what the default session length is, but I know you can change it to make it longer or shorter. Once the session terminates, those values will be lost
- Having some sort of a logout process that would manually end the session. Session.Abandon should do it.
MDW Guest
-
Bullschmidt #3
RE: Session DB values?
ASP Design Tips - Shopping Cart
[url]http://www.bullschmidt.com/devtip-shoppingcart.asp[/url]
Best regards,
J. Paul Schmidt, Freelance ASP Web Developer
[url]http://www.Bullschmidt.com[/url]
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Bullschmidt Guest



Reply With Quote

