Share Session Data
We have a web site where we have asp and asp.net.
how can we share session data b/w the two environments.
We have a web site where we have asp and asp.net.
how can we share session data b/w the two environments.
We have a web site where we have asp and asp.net.
how can we share session data b/w the two environments.
I was using ASP and Javascript I have a problem with the Session in IE.
When a user opens a new browser window with the file->new window menu item or ctrl N, it shares the sessionid cookie with the original window. That mean both of the window share the same session.I want a new window created refer to diffirent session. How can we solve this problem?
I'm looking for a working example on how to share session state between ASP
and ASP.NET.The solution of Y Yeung of Microsoft seemed to be a good solution but I did
not get the asp part working.Anybody tips, tricks, links ?
My web host gives me two servers, one normal server and one that has SSL on it. When my web page goes to the SSL server I need to read the session variables from the original normal server.
Does anyone know how to go about doing this? The obvious way would be to send a variable with the url and get it with the queryString but I dont want to do that as the customer can see and change things I don't want them to.
Can more than one application (on the same server) share the same Global.asa file? If not, then why?
View Replies View RelatedI have an intranet application in ASP running on Win2003(IIS6). Users log in on ASP pages. If I create an ASP.NET application to run on this intranet will the Session variables from the ASP session be carried over to the ASP.NET application or would I have to create another log in screen in the ASP.NET application to authenticate to the same database?
View Replies View RelatedI really need a coding help regarding sharing Folder Module to specific members through giving them rights for access while using Classic ASP.
View Replies View RelatedDoes anyone know of a quick and easy way to stream a particular share price
eg: msft into one's website....I have done a google search but I am not
finding anthing specific...is there an asp solution?
I've setup several FTP shares on IIS 5, where some of the shares are
located on another computer, while other directories are on the local
computer.
Is there a function similar to server.mappath that I can use to return
the physical path of a FTP virtual directory using ASP?
For example, I have a virtual directory called TestA located at
C:TestA on the local computer running IIS 5. I have another virtual
directory called TestB located at DevserverTestB where Devserver is
another machine on the network.
In my ASP code, I need to be able to access the physical directories
directly and I would like to avoid having additional code to deal with
hard coded directory paths.
Is there something similar to the command server.mappath("TestB") which
would return "DevserverTestB"? This way, the physical path is
transparent and I can treat local and network shares in the same way.
I'm trying to figure out a quick script that will let me link to a server share where the server could be 1 of a couple of different ones. The share will always be the same, but the server could be any of a list of maybe 5 or so choices as such:
server1share$
server2share$
server3share$
I'd basically like the script to check the different servers until it finds the one where the share exists, then redirect to it. The share will only exist on one server, but which one it is will change.
I have 2 web servers both running win server 2003 with iis 6.0. On my
PROD server I have a virtual directory called CONV. It points to a
folder on the C drive of this PROD server.
On my TEST server, I defined a virtual directory called CONV. It points
to a share called prodservernameCONV. Note that the share name is
the same name as that of the virtual directory.
Using IIS on the TEST server, I can navigate to this CONV virtual
directory and via right mouse, click EXPLORE. I see all the content I
should but when I try to doubleclick on a file I get a message saying
"Security alert" - "your current security settings do not allow you to
perform system commands on this item".
I've tried everything I can think of on the security settings for the
physical folder on the PROD server. I extended EVERYONE from READ, etc.
to FULL CONTROL. I added the user called INTERACTIVE and gave it full
control. In short, I am stumped and guessing now.
Basically, I just want to avoid duplicating all the data files on my
PROD server over to my TEST server.
I have two machines, one generate files, and copy to the other.
I try wscript.shell in my program, but it dit not work.
The two machines are not in the same domain. I saw some people's
question but not suitable for me,their machine are in the same domain.
They can assign permission to do the job.
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.
i have a wyswig editor ib my site. It stores all the data(text/images) in an access database. The trouble is i have a server.timeout on it and obviously when it times out i lose all the data.
Is there away of making it so it either:
1. Auto saves everything when the timeout happens?
2. Auto saves everything after say 5 mins?
I'm trying to create a VBScript using ASP. However I'm having
problems getting data from session variables into the right places.
The example I have copied below works, however I need to replace
"data1" and "data2" with real data from a session variable. Code:
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?
I am developing an ASP application where the user may spend large amounts of time manipulating data on a worksheet. An amount of time that will certainly exceed the security mandated session timeout intervel of 15 minutes.
So the user pushes save after the session has timed out and is thrown to the user login window -- all according to standards. How can I either detect the timeout before the submit or preserve the user entered data despite the redirect?
What i'm trying to do is delete away some rows of data in a database when a session ends. The codes are shown below. The problem is why the the database dont get deleted even after i set the timeout to 1 (waited for more than 1 minute) or after the script called the Session.Abandon? Code:
View Replies View RelatedI have a Development server that is running Win2k, IIS 5.0, and ASP enabled. I am trying to gain access to an Access 2000 DB located on a file server within my domain. I'm pretty sure I have all the correct permissions set, but I am having problems when trying to access the DB.
The error is similar to:
The Microsoft Jet Database engine cannot open the file '******'. It is already opened exclusively by another user, or you need permission to view its data.
I'm looking for ways to fix this... Microsoft suggests turning off the ability for IIS to sync passwords. Unfortunately, this is not a viable solution for me.
Is it possible to create a new virtual server that is a share to my file server? Put my ASP and MDB file in there and have it work? Anyone have any other ideas?
how to find the session expired or not without using any session varaibles?
View Replies View RelatedI have a site that I'm trying to migrate to ASP.NET from ASP, and the
foremost stumbling block I'm hitting is session state between the ASP
and ASP.NET applications. In order to access this information, I'm
doing a HttpWebRequest from the ASP.NET side into an .asp page,
passing the session name on the get in order to request it from the
ASP side and write it back to the response stream, giving ASP.NET
access to it. Of course I change sessions each time I make the call
from the ASP.NET side.
Soooooo, I'm thinking to myself, "Self, shouldn't you be able to fake
out the server by getting the session cookie from the initial usage of
the asp, pass that data to the ASP.NET, and use that to send a request
back the ASP side under the appropriate session?"
From a real high level, I enter the site via a .asp page. This page
in turn calls .aspx page from within a frame ......
I want to create an administration page which lists all the current users who are on the site at the moment.
I know coldfusion has this feature built in using the SessionTracker class... does ASP have something similar? If not... is there any way I can just iterate through all the session files on the server...?
I'm using DW MX 2004 to build an asp based eStore. I have a checkout page created with both the billing and shipping information in the same form. I'd like to add some code and a button to activate it to copy the code to the shipping info (but it can't submit form). Also the State choice is a drop down list based on a recordset. There are other behaviors attached.
View Replies View RelatedWe are running into problems with the script below, whose purpose is to allow users to choose values from drop downs populated by an MS Access DB.
THE RESULTS:
(returns a blank page with only HTML Titles)
THE SCRIPT:
(you may notice this is a modified sample script): Code:
I have a site developed using ASP, but each page I enter has a different session id when accessing the site using the domain name of the site. When accessing the site from my network and using the internal IP address, it is OK. Any ideas?
View Replies View RelatedDreamweaver created code to update to data base. But when testing on website i get the following message. I have no clue what it might be.
Microsoft JET Database Engine error '80040e14'
Syntax error in UPDATE statement.
/admin/update.asp, line 111
line 11 is strName.execute
I read it might be forbiden characters in the data base field names or spaces...
but i don't have that. the names are userName, userLevel, ID, Password.
This seems a very complicated task, so I welcome any
input. My boss wants a data grid or matrix of the top 6
orders with ordered items, and products, for a particular
customer and he wants to see it like this:
products down the left side
orders across the top
number of items under the respective order number column
across from the corresponding product.
I hope that makes sense.
I have three tables. Products, Orders, Orderitems. I
don't even know where to start. Many thanks in advance
for any input offered.
I want the suggestion what is better for use between:
Session.abandon
&
Session.Contents.Remove
how do i get data from a user on one page and display the result on the other page
actually i have written a prgoram that displays a set of checkboxes and based on the checkboxes selected the related data is displayed .but the problem is the data is displayed on the same page below the list of check boxes. Code:
I have a form that has the option to upload a file at the bottom. If you select a file it works fine but if you leave file selection blank the forms bombs. This is not how I want it to work. On the form you need to use ENCTYPE="multipart/form-data" in the form tag.
On the processing page I need to use Set to assign a variable to the form data. I tried using IF on the variable assigned to the file path but it bombs out telling me "This function is not supported". Is there any other way I can check to see if curQes has a value assigned to it?
I wrote a website, which uses the session to store and track some vars.
Now I am gonna to covert it to desktop application by Activesite compiler 5, however, it doesnot support session , cookie , application() . SO ,I have no idea to find something can instead of session.
My orignal processing: Session -> modify Session var -> store to Database.
There is a problem about ASP session ID. ASP session is implemented by storing session id in a session cookie, but I read this cookie in ISAPI Filter, get a string as following:
ASPSESSIONIDQADCQQTS = IAOFCBBCGDGMDGCNJIKPNBAN
But the real session ID is 554851848. (Real sessionID is sessionID property the ASP session object)
Problem is what is relation between them? And how to get real session ID from cookie session ID.