No Session Data Being Passed Back To Clients
does anyone know why my session number doesnt stay the same when i pressed refresh?
it works on w2k, but not on w2k server
my programmer thinks that the IIS is not passing the session back to the client. is there a way to check or any other alternative for sessions?
View Replies
ADVERTISEMENT
I have a quick signup for a friends page, and at the end of the signup I wanna destroy all the session variables using the nice session.abandon then create two session variables for the username and password so they're already signed in, then redirect them to the index page already logged in. Problem is the session variables don't get saved on the redirect when the session has been abandoned on the page. If I take the abandon out and destroy the session variables individually everything works fine and the new session variables survive. But if I abandon the session then set the new variables they do not. Yes, they are being set after the abandon, and do exist as I've written them to the browser before the redirect. Its not that big a deal in such a small scale to delete all the variables individually, but theres gotta be a way incase it was hundreds of session variables right.
View Replies
View Related
My ASP page 1 redirect user to third party's website,
after the process at third party is finished, in 3rd
party's page, there is one link to route user back to my
website: ASP page2.
As the user do all of these actions in the same browser, I
expect the user's session variables to be kept, But the
seesion variable are lost.
View Replies
View Related
I am retrieving data from html form, perform some math. calculations on it and now i need to put this data back to some presentable form to display in asp.Earlier I get the data from FORM in text format, convert it into double value, now want to put it back in text format for dispal.
View Replies
View Related
How to pass data back and forth between ASP and JSP page?
Let's say I have Java objects, how to pass the data back to ASP page?? Or
ASP has data, how to pass the data to JSP page??
View Replies
View Related
When an external resouce programmatically post the XML document as content
of http post request, and at server-side, I can read the XML data from http
request's body. Just like this example provided by Steven Chen:
#Happy Days Are Here Again: Posting XML to the Server
http://msdn2.microsoft.com/en-us/library/ms950790.aspx
After I process the data, I need to write a response message to the external
resource in xml data format(either succeful messge or failed message). what
people usually do, do I just write the xml message to response output
stream(let them extract from my page themselves) or
post data back to their page (which initially post/submit data to my server
program).
View Replies
View Related
I have a form that submits values to an asp page. If their is an error on the asp page that is called and you go back to the first page with the form. The values are not in the form.
How can I set the value back into form without the user having to retype them in? If I use hidden fields on the first asp page and I go back to that page wouldn't the values for the hidden fields be empty as well?
View Replies
View Related
Imagine an asp-script that retrieves data from a database and returns an HTML with table of the retrieved data, allowing user to edit some values and delete rows. The issue occurred after deleting a row. Lets say the initial table was: Code:
View Replies
View Related
How do I create a form that allows one to submit a form, then press the
"BACK" button on the browser, and allow the user to see the data he
posted? It seems as though this information is lost. Code:
View Replies
View Related
How can i obtain Clients Country
View Replies
View Related
what is the easiest way to get the clients country, wthout asking them for it is there a HTTP request?
View Replies
View Related
I have to develop the game in asp.net which is played by two player (TIC TAC TOE GAME ) sitting on two different pc.
the problem that i am facing is that how i can refresh the page second player page when i recieve the request from first player and vice versa.
View Replies
View Related
myGetImage.asp is suppose to create a temporary file in the client side, and display in on the client web browser. myGetImage.asp needs to know the clients web browser temporary system path, in order to create the temp file. How do I get the parameter and value of clients web browser temporary system path?
View Replies
View Related
does anyone know how to get all the sessionID that are active on a web site. I want to know how many people are on my web site and what their sessionID would be if I do response.write(Session.SessionID)
View Replies
View Related
I have web application that pulls in an image from a web users machine to include it in a preview
<input type="image" name="adimage" alt="user image" border="0" height="100" width="75" src="file://localhost/<%=strFullGraphicsPath%>" disabled>
is there anyway to extend this to be able to include images on a network share on the user's network?
View Replies
View Related
i am trying to build a page that my client can log onto with a password and update information daily, if there is someone who can point me in the right direction or tell me how to do this it will save me days of research trying to find it myself.
View Replies
View Related
I´ve made a program and now i would like the users of the program to be able to download updates from my website.
I want the user to show where the EXE-file on their computer is, so i can check version number, size and name of the file.
Do i need the user to upload the file to the server first before i can check version number, size and name?
Can i do this without some kind of component? Code:
View Replies
View Related
The client needs to save a file on his pc which is located on the server disk. What can be the solution for this?
View Replies
View Related
How to incorporate this Install-feature into my web site. I already wrote the setup program which is available on my web server. I do not want to let the setup program to be downloaded and get installed If this is not possible using ASP then do I need to really move to CGI scripting.
View Replies
View Related
when guarding against sql injection attack from modified form or
querystring variables is it enough to strip out just apostrophes...if the
variable USERNAME is the name of a text box passed to a script is the below
always safe...
q1="select * from TABLENAME where username='" &
trim(replace(request("USERNAME"),"'","''")) & "'"
View Replies
View Related
I've never seen this before. I am new to querystrings, as just using hidden
fields and the POST method has been more than adequate for me until
recently. But I started using the GET method, and I noticed that when I
clicked the submit button, it gave me this for a URL:
http://localhost/DisplayTickets.ASP...nsearchTSE.y=11
The thing is, selectTSE and Status are the two <SELECT> boxes, so I
understand them being there. But why is is telling me the x and y
coordinates of where I clicked the button to submit the form?
I should add that the submit button is an image, not a regular button.
This doesn't hurt anything, just wondering why it's there. And maybe it will
hurt something later on; I don't know enough to say.
View Replies
View Related
can cookies be passed from a pop up "secure folder log in" window, provided by my hosting company? As I would like to display a welcome message with their name when they log in.
View Replies
View Related
when i try passing a numeric value as a string("0004") using asp to a stored procedure, the value is stored as 4 and not as 0004 in the table. In the table and stored procedure the value type is nvarchar.
View Replies
View Related
I have a page that passes a variable in to an sql query
It parses the string (a date) for month and year.
It works when i use the date() function Code:
View Replies
View Related
I am facing a strange problem. I want to give a functionality to the client where he can download a complete folder from the server. but how to give this functionality is the main problem.
I have one ASP page where I am creating various files of vcf extension dynamically and now I want that client should be able to download all those files. Those files are present in one folder and so I want to give that whole folder to the client.so now I want some trickes/code or URL from you guys to achive this .
View Replies
View Related
I'm trying to pass paramter values to another .aspx page via a querystring. The record in the db table looks something like this lahlahlah. The value that gets passed looks like this lahblahblah. So basically the is not getting passed.
Here's what my querystring looks like: Code:
View Replies
View Related
i need to add a variable brought into the
script like: script.asp?variable=var
and i need to make it for use in
var1 = request.querystring("var")
mySQL = "SELECT * FROM members WHERE nick = 'VAR1'"
can anyone tell me how to do this?
View Replies
View Related
When i submit this form all the record values are being passed to the next asp page. But i want only those records which the user has changed in this page.
View Replies
View Related
I am using SQL SERVER 2005 and ASP.
Would anyone be kind enough to give me a solution to the problem below please?
If for example in the stored procedure looks like this:
-- Initialize the SQL Server XML stored procedures
EXEC sp_xml_preparedocument @xmlDoc OUTPUT, @xmlString
Insert into @TableBook
SELECT * FROM OPENXML (@xmlDoc, 'books/book') WITH
(
bookNameVARCHAR(100) 'name',
authorVARCHAR(100) 'author'
)
The question is supposing there is a node called 'Surname' but I am not adding 'Surname' to 'Author'. If I want to check 'Surname' value DOES exists and I want to replace it with 'Author' or if 'Surname' does not exist, just use 'Author' node instead.
I am not sure how you can use IF statement to check a node and put the value into SET @surname and then put something like author VARCHAR(100) '@surname' OR author VARCHAR(100) '@Author'. Just like switching it around.
View Replies
View Related
I would like to clean up my mailing list by changing the URL I use at the moment which is in the format
www.mysite.com/view_pic.asp?pic_number=123
To be
http://www.mysite.com/view_pic.asp?p...il=bob@bob.com
it would then insert the email into a table, collect these for a while and only see these as active members.Any ideas how to do this, I've tried a few things but no luck.
View Replies
View Related
I am trying to work out the length of time that a page was opened till it reached another page, I amusing the script below Code:
View Replies
View Related
I have a website that requires users to login. We track them by using
sessions. We record the time and date that they login, their session
id, the last page they visited, etc in a database. As as admin, I
would like to be able to login and force a logout of other users logged
in. Is this possible? I have looked online but there doesn't seem to
be any information that addresses this.
View Replies
View Related
We have a web site where we have asp and asp.net.
how can we share session data b/w the two environments.
View Replies
View Related