GUID Values Repeating

I have been creating new GUID's through this block of code

set typ = server.createobject("Scriptlet.TypeLib")
guid = TRIM(MID(cstr(typ.GUID),2,36))
Response.Cookies("guid") = guid
Response.Cookies("guid").path = "/"
Response.Cookies("guid").expires = now() + 1
set typ = nothing

Lateley, some visitors to the website are actually receiving the same guid.How is this possible? Is there a process that may be used to reset the guid delevery sysem?

View Replies


ADVERTISEMENT

GUID

how would i figure out what the GUID for .pdf Titles would be?
right now I'm using an asp script to return file information. I can get the file title if the file is a .doc type....but not if it's a .pdf type, even though a title is present in the properties. I can however get the .pdf file name as it's stored in the directory...just not the Title.

View Replies View Related

How To Generate A GUID Value In ASP

Can you tell me how to generate a GUID value in ASP?

View Replies View Related

How Get The GUID Automaticly?

How get the GUID automaticly? I will Creates a Genuinely Unique Identification Number (GUID) of type, like {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}.

View Replies View Related

GUID Across A DB Table

If someone registering for the site, enters their GUID. Now a check is made on that GUID across a DB Table to see if the GUID is present. There are approx 57,000 GUIDS in said table. It is msSQL DB on windows server 2000 server, how long would that check take?

I know there are several variables that come into play here, but I am looking for a ball park figure on how long it would and should take.

View Replies View Related

I Am Using A GUID (Global Unique ID) In Asp And Need To Know How It Works

I am using a GUID in asp e.g

i_GUID=(left(createObject("scriptlet.typelib")).guid,38)

and need to find out how reliable it is and how it generates a unique ID.

an example of the unique ID is {FEE7EECD-2E70-4E95-8EE1-C887B34EBB3E}

can anyone point me in the right direction for documentation on how this is generated.

View Replies View Related

Dynamically Generating GUID Online And Then Using Them In VB.NET How Might I Do This?

first, say I have a payment processing scheme, and after a value is returned letting the program know that a sucessful payment is made, that somehow I dynamically create a GUID, (or something of the like). I want to have it somehow embedded in the program as well as well as sent to the buyer so that he can enter in that GUID and it unlocks the program.

So somehow I want to generate a GUID, either inside the program or outside of it which either way is incorperated into the program, and so that I have a copy of it. I want this all to be able to be done dynamically and I assume it would have to be done in ASP.NET as it doesen't seem feasable to run a .exe program on the web.

Any leads? Or perhaps there is some sort of "shell" that I can embed my program in that will do this for me. Any ideas?

View Replies View Related

Random GUID Type Number Or RegExp

I have used:

set typ = server.createobject("Scriptlet.TypeLib")

to create a random string of 36 characters. However, is there a way to
create a random string of digits in the length I request? Perhaps a string
of 20 digits with a few asterisks thrown in for ease of typing?

for example:
4515-81301-75454-45136-1

Would this be reated with RegExp? And how?

View Replies View Related

Non-repeating Value

how should i retrieve the repeating value in the text box to be the values in the combo box?
example:
text box values : A A A B B A C C

combo box values : A B C

how can write so that even though it is a repeating value but only display those key values

View Replies View Related

Call To Guid Property Of Scriptlet.TypeLib Times Out

I use following code in an ASP page to generate a GUID:

<%
dim obj
Set obj = Server.CreateObject("Scriptlet.TypeLib")
Response.Write(obj.guid)
Set obj = nothing

%>

It worked fine on my WIN2000 computer running IIS. I recently bought a
new computer with XP Pro and this page times out. I now it is the call
to obj.guid. I have seen the same behaviour on another XP machine as
well.

The funny thing is if I paste this code into VB and display the guid
in a message box, it runs without a problem.

Any ideas, is this not supported in XP?

View Replies View Related

Repeating Events

beeing from swedeni´ve the text in swedish. But I hope u understand.
I´ve a calendar
http://www45.brinkster.com/ovaasp/cal.asp

Now I want to list events, so each event gets to the correct date (i.e in the correct
table-cel)

I´ve managed to list in the wat I want
http://www45.brinkster.com/ovaasp/list.asp

But when I trying to put the events in the calendar, I can´t get the repeating events
correct . U can see for yourselfs http://www45.brinkster.com/ovaasp/error_jun.asp
if you check next month + button "forward"
Eken Cup, i Solna should be writen to 3 - 7th jun

View Replies View Related

Repeating Lists

help me with making a repeating "dynamic list/menu" . i use dreamweaver and when i put a "repeat region" on a "dynamic list/menu" the page just keeps loading forever. do i need to change the default coding dreamweaver makes...iv been trying to figure this out for literally weeks, and im about to give up. I know it can be done becuase iv seen it done.

View Replies View Related

Repeating Region Layout

I have a repeating region set up in Dreamweaver for products. At the minute, when processed the records come out like this (one after the other)

x
x
x
x
x

However, I want to have three in a row (until end of table)

x x x
x x x
x x

Is there anyway to accomplish this?

View Replies View Related

Having Problem With Repeating Rows

What the hects going on on my page? Why are there so many blank backgrounds?

View Replies View Related

Repeating Region Without Dreamweaver

Can someone show me how to repeat records from a table without using Dreamweaver. Everything I find on google about repeating regions relates to Dreamweaver.

What I'm wanting to do is pull everything from a table in my DB. Then I will be putting those fields in a table on my page. Let's say the table is 2 rows and 4 columns. The first row is a header. The second row is where the returned recordset fields will go (in each of the 4 columns in the second row. Now, let's say there are 6 records in the DB table which have been returned by the recordset. I want those six records to be placed into the table on the asp page. How do I repeat the second row?

View Replies View Related

Prevent Repeating Records

Is there anything I can do in the Select Query statement?

View Replies View Related

Adding A Layer To A Repeating Recordset

I have a repeating table set up to display the results of a recordset. What I want to do is "attach" a layer on the side of it and have it be a different color with different text in it based on one of the results in the recordset.

I.e. say I have a field called "reponses", if it's value in one table is 1 I want a green layer with the word "yes" in it positioned next the table, in the next table if it's value is 2 I want a red layer with the word "no". Is something like this even possible?

View Replies View Related

Control Repeating Random Question

I have random questions that appear with each click and it works fine accept that I can't get it to NOT repeat the same question twice in a row. Code: ....

View Replies View Related

Passing Value With Nested Repeating Region

I am passing values from Supplier_Details.asp to Supplier_Products.asp, when I click to view the details of the supplier I want, their values goe to the other page ( supplier_product)that I want all his products to be displayed.

so far I can pass values and could be displayed, no problem but when it comes to displaying all the products, it;s then where I am stuck, with the previous tutorials ( nested repeat region) I can get it working and I tried to have that example working for all this, so far it;s not, so is it possible to do it ? Code:

View Replies View Related

Dynamically Creating Repeating Tables With ASP And CSS

I am generating a series of tables in CSS. The tables should repeat
themselves for a number of times governed by a counter that is
calculated at runtime by the ASP code. The problem is that I have used
top margins to position the tables in the ASP page.

So the tables when repeated super-impose on the tables that are
already placed at that margin position. Can someone suggest me a
better way out to resolve this?

View Replies View Related

ASP Repeating Form Fields In An Email Form

Would anyone be able to give some guideance in ASP code as to how I would repeat a section of input fields in a form based upon the number of guests that are attending an event?

Basically, what needs to happen is if 3 guests are attending, I need the Name, address, city, state fields to repeat so they can be filled in with information.

Then all of the information from the whole form is submitted which returns an email to the administrator of the event.

View Replies View Related

Form Values With A File - Passing Values

I want to call a recordset so you can edit the details and then obviously pass the parameters onwards into the db. However, the user guide just says this:

To process other fields in the form, use the Form collection of the upload object the same way you would use the Form collection of the Request object. For example, if your form had a text element named UserName, your processing code would include: Code:

View Replies View Related

How To Convert Escape Values In To Actual Values

i need to convert the escape values which are by mistake updated in DB.
example:

this is a sample text string
is updated in DB as
this%20is%20a%20sample%20text%20string

here %20 is the space.

like wise there are many entries for :,'

is there way that i can update all this in a update statement?
or use asp to to update the records?

View Replies View Related

How To Extract Indiviual Values From A Set Of Values

I have a variable SET which has the value Of 1, 2, 3, .., N.

SET=val1, val2, val3, val4, ..., valN

What is the commend or procedure to extract individual values, val1, val2, ...

View Replies View Related

Get Values

I have to get values from table using arrays can anyone tell me how this can be done here is my code

Code:

For i = LBound(arrCart, 2) to UBound(arrCart, 2)

Set rssubcat = Server.CreateObject("ADODB.Recordset")
strprod="select Member_Price from Products_Price where Products_Price.Product_Id= '" & arrCart(cartProduct_Id,i)"'"
rssubcat.Open strsubcat, Conn

total=rssubcat("Member_Price") * int(arrCart(cartQty, i))
subtotal=subtotal+ total

Next

View Replies View Related

Cannot Get The Values

I have a main data entry form which has a link to a detailed data entry form. The value of the link in the main form is the sum total of all the line items in the detailed form. The detailed form has fields to capture the individual line items like contracted service expense, travel expense etc. I am capturing the total of individual line items using session variables so that when the values of the main form is saved these total of line item values get saved. However, if one gets to the mainform via login and tries to resave the values (which is already saved), the above session variables (from the detailed form that contains the sum of line items) get null values. However, just navigating to the detailed form through the link and coming back to the main form sets the value in the session variables.My question is how to get the session variable values without having to go to the detailed form and come back to the main

View Replies View Related

Values

if it is possable in ASP i could store a value in one ASP page and look at it on anouther ASP page. for example:

On a login page i want that page to store a value called rights that is a number. when it goes to any of the other pages EG add user, Delete users if the user does not have the needed rights to takes it back to the main screen.

View Replies View Related

Get And Set Values

I wish to get and set values on child controls on a formview.For example. Changing the text in textbox. Hiding or unhiding child controls based on user. Replacing a blank with a default or calculated value that will need to be generated at runtime.It seems as though this should be thoroughly documented, but I'm not finding much.

View Replies View Related

Add 3 Values

i need to know if i have a loop that outputs values for each month how do i get it to add the values and only display them every 3 months,(every quarter)?

jan
123
feb
234
mar
432
first Q
789<---------how do i do this?
Apr
125
may
548
jun
323
second Q
So on..

View Replies View Related

Two Different Values

Is this possible. I have a drop down menu.

<select name="dd1" onChange="somefunction(this)">
<option value="<%=rs("Image")%>" > <%=rs("Iname")%> </option>
</select>

I need to use the value=rs("image") in a javascript function, but i need the selected value of rs("iname") in an ASP array. Request.form("dd1") will always give me the value of rs("image"). Is there any way around this?

View Replies View Related

Get All The Values

How can I get all the values of the previous form without having to hardcode the the names of the all the form elements? Something like:

Form Element Name: Form Element Value.

View Replies View Related

URL Values

I want to pass the value of a variable through a form to another page URL

[CODE]
<form name="form" method="post" action="AgentReceipt.asp?date=" & strDateStamp>

<p>Date Stamp: <input type="text" name="datestamp" value="<% =strDateStamp %>"
[CODE]

I do not get the value of strDateStamp on the URL of the other page.

View Replies View Related

Values From SQL

Using a query statement, I am trying to add values into the textbox of an ASP page to enable users to edit it. But it only displays the first word of the record. The rest of it gets chopped off. Code:

<P>Company Name:<INPUT NAME ="CompanyName" style="WIDTH: 371px; HEIGHT: 22px" size=47 Value=<%=objRec.Fields("company_name")%>></P>

The value in the textbox only shows R1 when the value in the SQL database is R1 International Pte Ltd. The datatype in SQL is char if it makes any diff.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved