User Profile

Collapse

Profile Sidebar

Collapse
Kandiman
Kandiman
Last Activity: Jan 24 '08, 02:52 PM
Joined: Dec 6 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Kandiman
    started a topic Login Logout question

    Login Logout question

    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"
    ...
    See more | Go to post

  • Kandiman
    started a topic How to delete a session with Javascript

    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">...
    See more | Go to post
    Last edited by acoder; Jan 18 '08, 09:30 AM. Reason: Added code tags

  • Kandiman
    started a topic Run-time error '91'

    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
    ...
    See more | Go to post

  • Kandiman
    replied to Object required!!
    i feel abit stupid now.. but you cant believe how stuck i was.. cheers for all your help....

    thanks...
    See more | Go to post

    Leave a comment:


  • Kandiman
    started a topic Object required!!

    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")
    ...
    See more | Go to post

  • Kandiman
    replied to Loading a file into embedded window
    okay cheers, the whole iframes things worked a treat. thanks guys!!
    See more | Go to post

    Leave a comment:


  • Kandiman
    replied to Loading a file into embedded window
    ignore me, i was being a idiot, figured it out, thanks guys... right, now im gonna try the iframe thingy.... wish me luck
    See more | Go to post

    Leave a comment:


  • Kandiman
    replied to Loading a file into embedded window
    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......
    See more | Go to post

    Leave a comment:


  • Kandiman
    started a topic Loading a file into embedded window

    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
    ...
    See more | Go to post

  • Kandiman
    replied to Simple Asp Code To Print Name?
    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>

    -------------------------------------------------------...
    See more | Go to post

    Leave a comment:


  • Kandiman
    replied to Simple Asp Code To Print Name?
    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>...
    See more | Go to post

    Leave a comment:


  • Kandiman
    started a topic Simple Asp Code To Print Name?

    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...
    See more | Go to post
No activity results to display
Show More
Working...