|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
give a session variable an array value
Hi,
I'm trying to give a session variable name an array value and then pass another array value to that session. This is the error I recieve when i try to give a seesion variable name an array value. // Session object, ASP 0168 (0x80004005) An intrinsic object cannot be stored within the Session object. // I'm new at asp and would appreciate it if someone could explain what's going on here or better yet, put forward a solution. <% for(i=0;i<theLength;i++){ itemNames[i]=croot.childNodes[parentNode].childNodes[childNode].childNodes[i].childNodes[0].getAttribute("cat"); itemQuans[i]=Request.Form(itemNames[i]) Session(itemNames[i])=itemQuans[i] Response.Write(Session(itemNames[i])+"<br>") } %> |
|
#2
|
|||
|
|||
|
Hi,
You might want to have a look at this link where the creation of an array is explained... http://www.faqts.com/knowledge_base/view.phtml/aid/4958 Regards |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > give a session variable an array value |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|