Jump to content

joecool2005

Members
  • Content Count

    245
  • Joined

  • Last visited

Community Reputation

0 Neutral

About joecool2005

  • Rank
    Member
  1. Is it possible to look all the sessionID that IIS has?
  2. I have a windows application that is calling a web server. Here is my scenario. 1) The windows app calls the webserver for authentication. If authenticated, the webserver will send back the session Id to windows app. 2) Once is authenticated, the windows app will make another call to webserver to get some value by sending the session Id. 3) The web server will check if the session Id exists. If yes, that means the windows app was authenticated and the web server can send back the data. So I need to check if the session ID exists. I don't know how. Any idea?
  3. Hi, I have a sessionID, how do you check if that sessionID is expired on IIS? Regards, Joe
  4. Hi I have this simple code <html> <head> <script> function addTable() { document.getElementById("one").insertAdjacentHTML('beforebegin', '<table border=1><tr><td>'); document.getElementById("one").insertAdjacentHTML('afterend', '</td></tr></table>'); } </script> </head> <body onload="addTable()"> <div id="one">one</div> </body> </html> When I called insertAdjacentHTML, why it does not do this? <table border=1><tr><td&
  5. Hi, I have an html like this <input type="submit" value="Submit" class="zoom_button" /> <span class="zoom_results_per_page"> <label for="zoom_per_page">Results per page:</label> <select name="zoom_per_page" id="zoom_per_page"> <option selected="selected">10</option> <option>20</option> <option
  6. Hi, In ASP classic, when I call "request.form", my application crashes. I'm using Windows Server 2012 R2 with IIS 8.5. But in Windows 7 with IIS 7.5, the same code works. Here's my code <html> <head> <% response.write(request.form("fname")) response.write(" " & request.form("lname")) %> </head> <body> <form method="post" action="simpleform.asp"> First Name: <input type="text" name="fname"><br> Last Name: <input type="text" name="lname"><br><br> <input type="submit" value="Submit"> </form&g
  7. Hi, I have more than a 1000 files of asp files. How do you to set the HttpOnly flag on all cookies? Sometimes cookies are generated by the apps. Thanks
  8. Hi, I have a cookie with specific key like this Response.Cookies("user")("firstname")="John"Response.Cookies("user")("Lastname") ="Smith"Response.Cookies("user").Path = "/"&"; HttpOnly"Response.Cookies("user").Secure = TrueResponse.Cookies("user").Expires = DateAdd("m",15,Now()) How do you use Response.AddHeader when the cookie "user" has multiple keys? I want the cookie in mode HttpOnly and secure=true. Thanks
×
×
  • Create New...