Hiya, i made a asp page, and one of my divs (as a include) is as below. the problem is if the main page is resubmitted, i get logged out again?...
heres the code.. i think its on the value=true for the hidden textbox on the logout sub.. but how do i get round this? can i not change the value onclick?
<div id=Rightbody>
<!--<form id="RightBodyFo rm" name="Rightbody Form"...
User Profile
Collapse
-
Login Logout question
-
How to delete a session with Javascript
hiya, i got some code where i set a session. however, i cant seem to delete it in the normal way, by setting a value and posting back, then if value is true, deleting session.
So im wondering if theres a way of deleting the session via java script at all?
this is my code if anyones interested.
[CODE=javascript]<DIV id=Rightbody>
<SCRIPT LANGUAGE="JavaS cript">... -
Run-time error '91'
sorry, its me again... stuck. im getting the error:
Run-time error '91': Object Variable or With block variable not set
My code is:
Function LoginEntry(strX MLLoginDetails) As String
'VARIABLE DECLARATION
Dim objXMLDOM As MSXML2.DOMDocum ent 'xml dom object
Dim objDBConnection As ADODB.Connectio n 'db connection object
Dim... -
i feel abit stupid now.. but you cant believe how stuck i was.. cheers for all your help....
thanks... -
Object required!!
can anyone see where im going wrong?..
im trying to pass a xml string into a vb6 dll, but i get a error
Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required: ''
/MyWeb/Guestbook2.asp, line 55
the code giving the problem is:
dim objGuestbookWri teNode
set objGuestbookWri teInfoDLL = createobject("G uestbookdll.Gue stbookclass")... -
okay cheers, the whole iframes things worked a treat. thanks guys!!Leave a comment:
-
ignore me, i was being a idiot, figured it out, thanks guys... right, now im gonna try the iframe thingy.... wish me luckLeave a comment:
-
right, im trying the iframe thing, but im getting abit stuck... can you have a look and see where im going wrong, i think its the part where im trying to pass the value of the listbox back to the javascript...::
<%@ Language=VBScri pt %>
<HTML>
<script language='JavaS cript'>
function loadStuff(sArti cleID){
//maybe add checks for valid article id formats......Leave a comment:
-
Loading a file into embedded window
Hiya,
Im hoping you can help. Im making a ASP site (not .net), and i and going to create a page that has a list of articles in a list box. I want the page to load the selected article (which will be a file on my harddrive) into a embedded window if possible?. This is only a mock site and will never go live, but it needs to use a dll also.
I was thinking on the following idea.- i have a listbox
- on selecting a
-
i since hanged my code, to use javascript and post data,... but now in trying to read post data from my hyperlink...
<SCRIPT LANGUAGE="JavaS cript">
<!--
function AddWithForm()
{
//Variables will be retrieved from submitted form
document.Shows. submit();
return true;
}
-->
</SCRIPT>
-------------------------------------------------------...Leave a comment:
-
Okay i realised how to do it, but not in the most stylish way....
<SCRIPT LANGUAGE="VBScr ipt">
<!--
Sub MyFunctionA()
Dim Letter
Letter = "You selected A"
txtResult.Value = Letter
End Sub
-->
</SCRIPT>
goes at the top, and my code is
<A href="#" onClick="MyFunc tionA()">a<a>...Leave a comment:
-
Simple Asp Code To Print Name?
Hello,
Im hoping you can help, for now im trying to learn how to do something so an easy example may help me to gain the concept.
I wish to create a hyperlink that when i click it, it prints my name further down the page.
I had a search for the last few hours on the <a Href> and onclick command, but this does not make sense?.. the part im getting confused is how am i able to call a function (something...
No activity results to display
Show More
Leave a comment: