Does Cookies Have Any Limitations When Used In Frames?
Does cookies have any limitations when used in frames?
View RepliesDoes cookies have any limitations when used in frames?
View RepliesI created a music website that allows people to sign up and post
messages on some message boards and update their profiles and such.
The login script uses cookies, so when they Log Into the site it does
something like:
Response.cookies("ID") = RS.fields("UserID").value
Response.cookies("USERNAME") = RS.fields("Username").value
Response.cookies("LEVEL") = RS.fields("ULevel").value
and from there, I have a header include that will verify that they are
logged in using something like this:
if Request.cookies("ID") <> "" then
{{code code code}}
else
{{code code code}}
end if
Everything worked great! It had for some 5 months now.
HOWEVER..recently I added a frame to the bottom of the site, which
houses a radio bar. The radio is constantly streaming out music, so I
don't want to refresh it or else the music is going to be disrupted.
The top frame holds the site exactly as it was before. But, now I am
getting some complaints that people cannot Log In. I cant put the
radio in a pop up window because there is prime advertising space on
it, which is very important to our business.
So..is there some reason that ASP cookies + frames = problems? Is
there any way I can fix this without killing my frames?
I am having problems with CSS expression. I have setup page that expresses some inline CSS within a repaet region. I am finding that after around 25-30 repeats the CSS stops expressing. The CSS is designed to set the size and position of a table and after too many record repeats it stop positioning the tables in internet explorer.
This may be a browser limitation becasue when I examine the source code of the expressed document the CSS is intact but it is not showing up in the browser.
I am using variable passing through the url, and as it is getting larger, I am finding that occassionally some values are getting trimmed. Is there a limit to how long a url can be?
View Replies View RelatedI need to use an script that uploads via one of these three components: ASPUpload, SA-FileUp or SmartUpload.
If any of you have some recommendations or know upload scripts using one of these components, it'd be great. Unfortunately, I need it to be able to upload huge files on the server (300 megs).
I would like to know what I am allowed to do in Sub OnTransactionAbort and
what I am not allowed. (Or where can I find some material about this.)
I seem to have experienced that I am not allowed to do further database
transactions and cannot see the global variables. I can see Session
variables and do file transactions, however.
Just migrating some code from CDONTS to CDO and noticed some behaviour I want to verify.
When using cdoSendUsingPickup the outgoing email spools to the local filesystem first before being routed out. When using cdoSendUsingPort it goes directly to the remote email server and seems to bypass the virtual SMTP server running on the local machine (which can be stopped). This is all fine.
I noticed that sending emails that exceed the maximum filesize limitation set in the SMTP server properties pages only seems to trigger an error when using port, not pickup. Is this expected?
i need to use bigger numbers that integer allows in asp. what should i use? i still need the whole number quality of the integer, but when i use anything larger than about ,100,000,000 i get the error Overflow: '[number: xxxxxxxxxxx]'
with the x's being the number i used. anyway around this?
I am getting ready to start a rather large website for a company. Its basically going to be a auction type website. This site has the potential to get extremely big if they market it correct. My question is can Access handle it?
I've heard there are certain size limitations in Access, but have never heard what those are. Has anyone out here actually reached those limits? Also how hard would it be to convert a Access db to SQL Server 2000? Is there a conversion tool within SQL Server or Access?
I am coding an ASP script, which currently requires a 5-dimension array, i.e. array(a,b,c,d,e)
I remember reading somewhere, a long time ago, that there is a limit to the number of dimensions in ASP. That was a long time ago, and I don't remember.
ASP based Cookies. What is the limitation in data you can store with them? 4kb? How can you get the current size of Cookies your domain has placed on the computer? Another thing. Are ASP based cookies actually written to the client computer, like javascript ones are; or are they stored in sessions?
Sessions. I know a Session can hold quite a bit of data, but I never found a limit. All I know is the more data you place in a session, the more resources the server is losing. Can anyone recommend how many different keys I should place in a session?
I usually hold things like Username, Password, AccessLevel and one or 2 other preferences, but I'm not sure if that's too much as is. What other common ways are Sessions used for?
I'm looking to manage an email list with SQL server and send out newsletters. Does anyone have an idea of the limitations of sending emails with CDONTS.MAIL object? How long would it take to send out 1000 emails via asp. I guess there are many variables with that, but that's say there were no attachments and we have 15k emails. These news letters really will only be sent once a month or so. But lets say our list grows to 10000 users or even 100,000. Is that a good idea to send 100,000 thousand emails through an asp page? I wouldn't think so .
View Replies View RelatedUsers are required to log into my website. I store the users name in a session variable. If the user doesn't log out and the session expires after 20 minutes, is it permissable to have code in the session end function of the global.asa which accesses a database and makes alterations to the users login status?
The reason I ask this is that I am having problems trying to get the logout to work for sessions which have timed out. If the users logout using the logout button, the code works fine.
I'm trying to implement the server.execute instead of using SS includes in a new project I'm doing. the server.execute command will not transfer variables or classes/subroutines defined on the other pages. Is this correct?
That's what I'm seeing but I want to be sure that I'm doing it right. I had to go back to SS includes to include my functions and classes I have stored in other files.
I have installed aspSimpleUpload and can upload files, up to 8 megs. However, I need to be able to upload any file size without any restrictions. Are there any file uploaders that I can use that will solve this problem?
View Replies View RelatedI've been trying to use javascript for form validation. I want to get all the validation done in one function since it seems onSubmit can only handle one "return functioname()"
But there seems to be strict limits to javascript function complexity. For example, it seems I can't do this
if ( (a < 3 && b < 2) || (c < 5 && d < 9))
it seems I can't do any 'else if condition x'
also it seems I can't do any nest 'if condition return true'. Is there a way for a single javascript function to handle many different form validations? Or can onSubmit handle more than one returning function?
In my Session_OnStart in Global.asa, I am setting some cookies. One
of them, I set as follows:
dim UserID
UserID = Request.ServerVariables("LOGON_USER")
Response.Cookies("User")("ID") = UCASE(UserID)
When I immediately log the cookie value retrieved from
Request.Cookies("User")("ID") into the Windows Event Log, I get the
correct value. However, when I try to retrieve the cookie on the home
page of my application using the same code,
Request.Cookies("User")("ID"), it either cannot find the cookie or
cannot read the value. I am retrieving the cookie before all HTML
headers are written. It is my first statement on the page after
Option Explicit. I have even compared the session IDs. The SessionID
created in the Session_OnStart is the same value as the SessionID on
the home page.
I have read that the Session_OnStart only has access to the
Application, Session and Request objects. It does not explicitly say
that it does not have access to the Response object. Also, I was even
able to use Response.Write's in Global.asa to print out the values
although it looked like it had also stopped the session after I did
so. Cookies are definitely enabled on my machine. I have even tried
setting the session cookie's expiration to be persistent for a few
days to see if it was perhaps expiring before I was able to read it
but this did not work either.
Is there something preventing cookies to be created in Global.asa in
the Session_OnStart sub? Is the Response object not available???
Please let me know if anyone else has had this problem or solution.
Is it possible for a user to enable permanent cookies but disable session cookies.....this seems like a contradition yet this is what I appear to be
reading in online articles?
I m creating a cookies in my application and it work properly but i can't see the cookies where it will sotred i checked the cookies folder but i didn't find that I want to create a cookies file as the other web site create and store where other cookies will stored in Cookies folder or Temprory Internet files folder eg:1. arvind@google.co[1].txt this stored in cookies folder 2. arvind@msn[2].txt ....
View Replies View RelatedIf I have existing code that has a drop down box to select department. This then brings up the Access database based on a field passed from the drop down selection.
How can I get the database to show up without getting rid of the table display from the selection. This way I do not have to go back adn forth for every selection.
Shold I create Frames? How do I do that?
I want to print a page, with a header(image in another frame).
Is there a way where i can specify what i want printed as a header?
Or can i specify only certain frames to print.
I'll need to do this in the coding because there is other frames on my page as well that i don't want to print.
I am trying to use frames in asp page. Well I am aware that frames are on client side etc.. what I need is following. Let me explain using the main page which have
the frames skeleton :
******FRAME.asp**
<HTML>
<HEAD>
</HEAD>
<FRAMESET ROWS="50%,50%">
<FRAME SRC="which.asp" NAME="which" FRAMEBORDER=0 BORDER=0>
<FRAME SRC="what.asp" NAME="what" FRAMEBORDER=0 BORDER=0>
</FRAMESET>
</HTML>
************
1) on page what.asp i am extracting value from database in a table
format.
2) when any row in what.asp is clicked the value should change in
which.asp
3) Finally I should be able to submit the whole FRAME.asp when the
update button on what.asp is selected.
Tried to search for examples on the net but unable to find any.
I have an ASP programme which calls functions to display a list of tables from an access database
e.g.
table1(a,b)
table2(a,b)
etc
Ive also created the frames page dividing the page into two vertical colums 30% and 60%
Ive created a menu in the left column and when clicked upon want to have just a single table displayed in the right column, how do i do this?
I am having an issue using ASP and frames. I am required to use frames
so NOT using them isn't an option.
Problem: When a user enters the site they goto survey.asp (this is the
frameset page). However when an ASP script redirects to the survey.asp
page I get double frames.
Meaning, that when the user is returned to the page the orgional frames
exsist and then ANOTHER set of frames is set within those!
Any ideas on how to fix this?
I just wonder what are the implications to use frames to build portal. I've
seen some sites that are quite fast with frames but I just wonder if there
are hidden "costs".
I've tried to use in the past and I run into a lot of problems when I worked
with environment where there were frame and no frames pages.
I have a page with three frames. One on the top, one on the left and one on the right.I use the frame on the left as a list of selections for the user (ie a menu). When the user makes their selection, the frame on the right shows the relevant page.I want to give the user the option of hiding and showing the frame on the left, by click on a button.My experience with frames, is nil.
View Replies View Relatedhow could display one background image on a web page that is divided into 4 seperate frames.
View Replies View RelatedWhen I put my asp files in frames and call the frame from browser, I get a message to save the files. The files aren't actually displayed. How can I see the asp files in frames?
View Replies View Relatedi have an HTML page (Index.htm) which has 4 frames in it. each frame is a different ASP file.
How can i access one frame from another? is there something like HTML-DOM which i can use with ASP? any other ideas from accessing different frames?
Say for instance that I have 2 frames and I have code in one. That code is returning information from a database. In that database there are hyperlinks to images. Upon clicking that hyperlink how do I force the image into the other frame?
At present It opens appears to go to a new page, but everything is coded in one ASP page. So I have to click back to select another image? I want to be able see both the database and image so I dont have to go back and forth
is it possible to include asp code in a page so that it only executes if frames are used by the browser?
View Replies View RelatedI want to pass the value to two frames and two pages after hitting the
submit button If my form I have this:
<form method="get" action="search2.asp" target="fSearch2">
I want to pass crPN to below as well
action="search3.asp" target="fSearch3"
I am having a little problem figuring this out.
I can build a nice looking website in HTML, but I have to admit that I don't know a ton of other code beyond that (i.e. ASP, Javascript, PHP, etc. - although thanks to Sitepoint I have incorporated a tell-a-friend and contact form using ASP)
My client currently subscribes to a service for selling his photographs where he uploads his images to a "sales site" that establishes a gallery for him where his clients can select and purchase images online. He would like to incorporate the "branding" from his site (header, background, footer, etc.) around the pages for his image sales site. My first thought was to use frames and to direct the main frame to the sales site pages, however the "padlock" icon in IE that indicates security to users when purchasing disappears because it's just a page within the frameset and he feels that his clients won't be comfortable purchasing from his sales site if they can ensure their online purchase is secure (apparently that padlock icon eliminates a lot of stress for his shoppers).
I then considered using CSS to try to accomplish the same result, but have come to find that IE doesn't support the function of CSS that would allow me to "call" information from a different URL. Code: