One page I am creating a session state, and testing it on the same page. It works. On another page, I am testing that the session is still in effect, as I set it's time out to 30 minutes, but it doesn't carry the session over... the session variables just won't stick.
Tis will carry over the value of RS("PSL_F_Serial"), but I also have another value which needs to be carried (2 values per radio button), RS("PSL_L_Serial").
Can I send two sets of data this way, if so, how?
If this is possible, on the next page, how can I retrieve both values into seperate variables ?
i have a working members registration script where members register and it emails confirmation of their registration details to the email address they enter. what i would then like it to do is add them to the users database. I have the code but it chucks up this error when it tries to add the user:
Microsoft OLE DB Provider for ODBC Drivers- Error '80040e10'
[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
I have been running IIS on Windows 2000 for several years with no problem.
Today, when I clicked on the system tray icon and clicked start service, nothing happened - no error messages. IIS just ignored me completely and would not start.
I am about to try a computer restart - but has anyone else run into this problem?
Seems that my XP Pro IIS is being a jackass. When I run my ASP scripts it seems to give me this wierd error. Big_Al told me that it was because my script is inside a read-only folder and that something along the lines is really messing it all up.
Now this had brought a new problem. I changed the IIS Console features to Read, Write etc. but its not changing the wwwroot nor the sub folders. Whenever I un select read-only it simply reactivates itself ! What do I do to make the damned thing change!?!?!
We just upgraded our web servers to ms2003 and iis 6.0. we are also running coldfusion MX7. I get a 404 error when ever I trry to bring up an asp page. On the old server we' re we have both cf and asp pages running w/o issue. Any ideas why I'm getting 404's form my asp pages.
i have made a script and it worls no the local host on my pc but does not work on the server.all of my other asp scripts on the server work any ideas y this would work on the local server and not on the internet?
I created my .asp page in Microsoft Visual Studio .NET 2003 and when I right-click my page in there it displays perfectly. But when I try to view it in internet explorer I only get the html part to display.
I've tried regestering iis in the cmd, it didnt solve it. Here is the code if it could be to any interest:
Ive build an asp website which works on my local machine and also works when i upload it to other web spaces, but when i upload to one web hosting space - it doesnt (which also happens to be where the client wants it to be).
There are other asp sites running from that location too - which just puzzles me. Would it be something to do with that i use dsn less connections and the other ones use dsn?
I have been working with ASP classic on this current project im involved in. Well the problem im facing now is there is a page where a flash movie should play in a particular section on the page but it wont play on the secure pages, on the unsecure pages it plays fine. I had added an Active X work in accordance with the Lawsuit issue but it still wont play. Has any body faced this problem.
I am trying to have multiple layers on a page that toggle on and off, it works on a htm file but when I use it as an asp file it doesnt show anything. Code:
Having trouble getting Session to persist. Have checked properties of the Virtual Directory in IIS4 manager and "Enable Session State" is checked, with time out set to 20 Mins. Have also checked the Project Properties in Interdev 6.0 and confirmed that "Sensionless ASP Pages" is NOT checked.
When moving from one page to another within the application it starts a new session for each page : I've confirmed this both by Writing the SessionID and by adding a Variable into the On_Start of the Global.asa. Only trying to store a single digit in a Session variable.
I have a couple fields in an Access DB that have parenthesis in the name:
EST(Minutes), EST(Seconds)
When I try and populate the dataset and then bind the datagrid it claims there is no field having that name. Can parenthesis be used in fieldnames. If so, can you please tell me the correct syntax please.
I have been working with ASP classic on this current project im involved in. Well the problem im facing now is there is a page where a flash movie should play in a particular section on the page but it wont play on the secure pages, on the unsecure pages it plays fine. I had added an Active X work in accordance with the Lawsuit issue but it still wont play.
I created a feedback form for my website that has only 2 required fields. When you submit the form it calls my asp page which puts the information in a database and then sends me n email with the information that was entered into the form. The problem is that the form only has two required fileds, and if the remaining non required fields are left empty when the asp page is called it does write to the data base, but does not send me any email. However if I go back in and put somethng in every field in the form then when I submit the form and my asp page is called it writes to the data base and sends me an email with the all the information I entered in the feedback form. Is there a way to tell my asp page that it is ok to send the email even if the non required fields are left empty? I really do not want to have to go back through the form and put default values in for each area of the form? Also is there a way to have an error displayed if the email is not sent? My asp code is below....
We are planning to set-up a load balanced web environment. Accordingly, we are going to change the session management on our website from the classic ASP Session State and session variables, to a database method.
Does any one have any pointers as to how I might approach this, so that I can have the same sort of functionality the ASP sessions give without having to create database columns for each session variable I wish to create. I am thinking along the lines of some serialised dictionary or something that I can stick in a blob column.
I was wanting to know if you could have a function within a session?Example: Code:
<% Session("Message") = MyFunction() %>
Is that possible? Ok, maybe not "is it possible" but can you use the session message to dictate where the function outputs its data? Here's why I'm asking. I have an online testing app that when a person selects the wrong answer the correct answer (along with a bunch of other stuff) will be displayed on the page. I'm getting it to display the correct answer and the other information, but the correct answer is at the top of the page screwing up my layout and the other information is doing what it should.
I am using ServerXmlHttp in a client-side component to basically talk back to the Server within a webpage. I would like to be able to cache some information on the server so that when I callback, I do not have to reconstitue everything that I did for the intial request. However, the Sessions are different.
Is there a way to get the ServerXmlHttp session to impersonate the IE client session? Code:
can any one tell me how to use sessions in asp for 2different users please?Is it straight forward? Never used them before, a friend said it is worth doing
I've just created a simple form that writes information to an Access database using ASP. Everything works fine. My question is, would there be any reason to use the session object other than for tracking purposes.
Specifically, does a session have any inportance on multiple users accessing pages and submitting the form inforamtion to the database. I was curious about errors to the database with multiple users submitting at the same time to the database. This is a small scale application and not expected to have large number of hits. As stated I'm new to using ASP and just wanted to get some input.
I have used SESSIONS on mission critical pages on my site, and if sessions are not enabled / supoorted - these pages will fail. When and why would a session fail? They do not store any info client side,and rely on the server to store session objects in memory, am I correct? Would security settings or privacy controls ever stop sessions working? Which "popular" browsers dont support sessions?