Click here to Skip to main content
15,923,083 members
Home / Discussions / Web Development
   

Web Development

 
QuestionServer side security access? Pin
Nick Seng10-Apr-03 0:23
Nick Seng10-Apr-03 0:23 
GeneralGUIDs via JavaScript Pin
Senkwe Chanda9-Apr-03 22:32
Senkwe Chanda9-Apr-03 22:32 
GeneralRe: GUIDs via JavaScript Pin
alex.barylski10-Apr-03 14:33
alex.barylski10-Apr-03 14:33 
GeneralRe: GUIDs via JavaScript Pin
Senkwe Chanda10-Apr-03 23:14
Senkwe Chanda10-Apr-03 23:14 
GeneralRe: GUIDs via JavaScript Pin
alex.barylski11-Apr-03 11:20
alex.barylski11-Apr-03 11:20 
GeneralRe: GUIDs via JavaScript Pin
ian mariano13-Apr-03 12:41
ian mariano13-Apr-03 12:41 
GeneralRe: GUIDs via JavaScript Pin
Senkwe Chanda13-Apr-03 20:56
Senkwe Chanda13-Apr-03 20:56 
GeneralRe: GUIDs via JavaScript Pin
Jim Taylor21-Apr-03 8:33
Jim Taylor21-Apr-03 8:33 
I've had the same problem. The workaround that I took was to obtain the guid from a seperate page that is loaded on request into a hidden iframe. When that page loads it returns the GUID to the parent page (the page the iframe is contained in). Call GetGUID() to get a guid. When the page is first loaded we get an initial guid by loading the hidden frame which then calls GUIDGenerated when it loads. When we use a new guid the code loads a new guid for use next time by changing the location of the hidden frame.

HOST PAGE:


var LastCreatedGUID;
function GetGUID()
{
var CurrentGUID = LastCreatedUID;
document.frames["fraHidden"].location.replace("GUIDGenerator.asp");
return CurrentGUID;
}
function GUIDGenerated(GUID)
{
LastCreatedGUID = GUID;
}
function GetFirstGUID()
{
document.frames["fraHidden"].location.replace("GUIDGenerator.asp");
}







GUIDGenerator.asp:

<%@ Language=VBScript %>
<%
Dim GUID : GUID = server.createobject("scriptlet.typelib").guid
%>






If you're not using asp use any dynamically created page to get the guid in a similar way.
Hope this helps. Jim Smile | :)

Jim
General“print” problem in cgi web application Pin
Aiyappa9-Apr-03 20:20
Aiyappa9-Apr-03 20:20 
GeneralControlling IE Settings Pin
scottbmunro9-Apr-03 3:46
scottbmunro9-Apr-03 3:46 
GeneralRe: Controlling IE Settings Pin
Paul Watson9-Apr-03 4:11
sitebuilderPaul Watson9-Apr-03 4:11 
GeneralRe: Controlling IE Settings Pin
J. Dunlap9-Apr-03 8:38
J. Dunlap9-Apr-03 8:38 
GeneralRe: Controlling IE Settings Pin
Paul Watson9-Apr-03 20:34
sitebuilderPaul Watson9-Apr-03 20:34 
QuestionHow many instance ? Pin
Nick Seng8-Apr-03 20:19
Nick Seng8-Apr-03 20:19 
GeneralImplementing wSpell in .asp Pin
IceOl8d8-Apr-03 9:55
IceOl8d8-Apr-03 9:55 
GeneralpasteHTML() Problem Pin
dutchy8-Apr-03 6:02
dutchy8-Apr-03 6:02 
QuestionCoordinate-based popups? Pin
Jamie Hale8-Apr-03 4:17
Jamie Hale8-Apr-03 4:17 
AnswerRe: Coordinate-based popups? Pin
alex.barylski8-Apr-03 12:47
alex.barylski8-Apr-03 12:47 
Generalhttp post via javascript Pin
Senkwe Chanda8-Apr-03 3:19
Senkwe Chanda8-Apr-03 3:19 
GeneralRe: http post via javascript Pin
alex.barylski8-Apr-03 12:33
alex.barylski8-Apr-03 12:33 
GeneralRe: http post via javascript Pin
Senkwe Chanda8-Apr-03 19:51
Senkwe Chanda8-Apr-03 19:51 
GeneralRe: http post via javascript Pin
alex.barylski10-Apr-03 14:25
alex.barylski10-Apr-03 14:25 
GeneralRe: http post via javascript Pin
Still Learning Dude11-Apr-03 14:02
Still Learning Dude11-Apr-03 14:02 
Generalgood Web Design site Pin
Braulio Dez8-Apr-03 0:03
Braulio Dez8-Apr-03 0:03 
GeneralRe: good Web Design site Pin
matthew l8-Apr-03 0:14
matthew l8-Apr-03 0:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.