@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3



Comments:

<0> sure there is: HTTP_COOKIE: ASPSESSIONIDASDACCTT=NEKFKCKBCLMIGFKPGLKCFMJN
<1> ok, well in which case my debug output for cookies is fubar :D
<0> it's your browser settings then
<1> I got it sfrom someone here last night, just ***umed it all worked bc I don't know better
<1> I accept all cookies
<1> hm
<1> lemme just double-check ;)
<1> Mac-: in the Cookies: box at the top of the debug output
<1> do you see the cookie data there ?
<1> I have set it to accept all cokies and I still see nothing there
<0> no, in the http header dump
<1> I won't to veryify whether it's the code or the browser
<1> yeah, I saw that
<1> I want to debug my debug app ;)
<1> it should be showing it if the header is there
<0> the session cookie IS set...



<1> so am I ****ing the code up, or is my browser being an ***
<0> therefore you have session state
<1> then how could I explainm the loss of session data between page views
<0> so you can do Session("POOP") = "Brown"
<0> and then Response.Write(Session("POOP"))
<0> accross pages...
<1> yeah, the theory I have no issue with
<1> in practise, I'm losing session.debug=true
<0> really?
<1> http://pete.soapmedia.co.uk/email_insert.asp
<1> hit enable debug
<1> then go to another page
<1> or same page, but use the nav
<1> any change in page access wipes the value
<0> Session("debug") = true
<1> If int(Request.QueryString("debug")) = 1 Then
<1> Session.Contents("debug") = true
<1> End If
<1> that's my magic
<0> what's int?
<1> type casting ?
<1> tat must be running however, as session.debug does get set
<0> it's CInt, CLng, CDate, CString and so on...
<1> according to the debug at least
<1> used CInt
<1> same deal
<0> Int is for numbers... floats
<0> CInt is for string->number conversion
<1> yes, I'm trying to cast it to an integer
<1> oh
<0> and where do you read the session variable?
<1> OH
<1> I put int() in the wrong end of the if
<1> int(querystringvalue)
<0> don't use int
<1> is what I should have done
<0> USE CInt
<1> yeah, CInt now
<1> I'm just using familiar terms to describe :)
<0> i'm having a heartattack here
<1> cut down on the dcaffeine
<0> familiar to you maybe, but not to me in VBScript-help-stranger-mode
<1> heh
<1> a fair point
<1> I'm striggling myself with all the crazy newspeak ways of describing things
<1> you know, I peaked too soon on my eureka moment
<1> the cint() was in the right half of the comparison
<0> never too late to switch to jscript :)
<1> hate hate hate :)
<0> why?
<1> plus I'm 95% there on this stuff
<1> may as well cap the 100 ;)
<0> it's a lot closer to java, c, and all those variants
<1> I dunno, always hated js
<0> the language? or the client side aspect?
<1> been coding (x)html/php/css for coming on 6 years now, ad every time I've delved into js it's bugged me
<1> I suppose I only mean client side javascript stuff
<1> but I didn't' get on with the syntax and stuff
<0> i see
<1> I know, I'm gonna say stuff agian
<1> just to make it an even three



<1> I think I'm losing my ability to describe concisely :)
<0> what does the code that prints Session variables look like?
<1> <%For each Sess In Session.Contents%>
<1> <tr><td align=right nowrap cl***=bodytext><%=Sess%>:</td><td nowrap cl***=bodytext width=100%><%=Session(Sess)%> </td></tr>
<1> <%Next%>
<0> k
<1> now, you mentioned suing session(key) = value
<1> to ***ign before
<0> okay... then i bet you $1000 that the code that checks to display the debug info is faulty :)
<1> does my using
<1> Session.Contents("debug") = false
<1> break it ?
<0> Session.Contents ? what's that?
<1> I've seen it in code :)
<1> seemed a logicl sort of thing to see
<1> so I didn't question it
<0> okay
<0> never used that, but i suppose Session.Contents("whatever") is equal to Session("whatever")
<0> anyway, if you made a .txt copy of your script i could probably find the error in no time, haven't got the time for this :)
<0> i've got a JS FileBrowserControl to make
<1> http://pete.soapmedia.co.uk/nac.inc.asp.txt
<1> ;)
<1> http://pete.soapmedia.co.uk/nav.inc.asp.txt
<1> rather
<0> okay...
<0> remove the CInt Stuff
<0> and use "0" and "1" instead
<0> and you'll be fine
<0> because... CInt on the null querystring will give you 0
<0> got it?
<1> good god man
<1> that's awesome
<1> thanks a lot for your time
<1> your time has saved me lots of mine ;)
<0> yes i'll get my reward in hell
<1> hah, let's hope it snot like the hell in south park then ;)
<0> hehe
<0> watching the simpsons now
<0> episode 08x08, damn it's funny
<2> is there a way to list all values of all post objects from a form to another page without knowing the name of the form or the field names i'm trying to print
<0> sure
<0> For Each Item In Request.Form bla bla bla Next
<2> like a..... for i = 0 to ubound( all requestobjects)
<2> ahhh ok
<0> and Request.QueryString instead, for those...
<0> but ask apathy-, he's got this **** pinned now! :p
<2> so inside the the for each item in request.form i would do this? Response.Write Request.form.item
<2> or how would i get the field names being sent i guess
<0> Request.Form(Item)
<1> is there an AS part to go ino that foreahc stuff ?
<0> Item IS the name
<0> AS part?
<1> For Each request.form as item
<1> I suppose that's where I was headed
<0> nope
<1> heh
<0> the syntax is For Each <varname> In <Collection>
<1> screwy
<1> half english-labguage, half character-delimited
<3> is it possible to have say some JS include page content from another server ?
<1> no wonder people badmouth vbscript
<2> ok, has anyone here ever worked with linkpoint before?
<0> Tcalp: ask in #javascript
<2> aparently there not sending things back like they said there were
<2> it's empty like i thought it would be
<0> who's sending what?
<0> ask apathy- for his Request debug routine... that'll show you everything
<2> nevermind i will call them
<2> thanks for the help
<4> Hi.. if i need to trim of the leading characters of each line (eg: "8 - " of this -> http://pastebin.ca/145387
<0> blittan: have a look at the Left, Right and Mid functions
<4> its a long string..
<0> yes... if you can get it into a variable, you can use those functions on it


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #asp
or
Go to some related logs:

#debian
BREYERS BUMS
crays snarfed
#politics
foo_pod.dll
blackberry corrupt firmware
#online
#sex
#freebsd
chat privet



Home  |  disclaimer  |  contact  |  submit quotes